Skip to Content
0
Former Member
Nov 16, 2011 at 11:19 PM

DataService 4 : set jobServer for webservices Run_Batch_Job doesn't work

79 Views

Hello,

We recently upgraded to DS 4.0, exact version: SAP BusinessObjects Data Services version 14.0.1.142

We have a custom java app which uses DS webservices and we regenerated the classes from the current wsdl.

Everything works except when"Run_Batch_Job" function is issued with a a specific JobServer, this value seems to be ignored. This feature worked with DS 12.2 which was our previous release.

the following values from AL_MACHINE_INFO

SEQNUM SERVER_NAME MACHINE_NAME PORT SERVERGROUP_NAME

-


-


-


-


-


1 RepoManager (null)

2 JobServer_1 SJC-BO4-QA1 3500 sg_BOR1

3 JobServer_2 SJC-BO4-QA1 3501 (null)

When executing a batch job and setting the jobServer (below), the job server value seems to be ignored and the job is always executed on the ServerGroup, as presented in the trace logs;

JOB: Starting job on job server host <SJC-BO4-QA1>, port <3500>. Job submitted to server group <sg_BOR1>.

code sample:

BatchJobResponse resp = null;

Job_param_type jobParameters = new Job_param_type();

RunBatchJobRequest req = new RunBatchJobRequest();

req.setJobName(jobName);

req.setJobServer(jobServer); //doesn't work?

jobParameters.setJob_server(jobServer); //doesn't work either

req.setJobParameters(jobParameters);

resp = binding.run_Batch_Job(req, session);

Does anyone know whether this is a known issue with DS 4.0? Any ideas would be greatly appreciated.

Thanks.