on 09-11-2012 9:53 AM
Hi,
I want to create a schedule for my batch job. I can create a schedule with "option = Data Services scheduler" successfully. The schedule is active. But the schedule will not be executed. I tried all options (all days, once a day, multiple a day, ...) - nothing happened.
I can manually execute a job in designer and management console!
Some ideas or experiences with Data Services 4.1?
Regards,
Peter
Hi,
When you create DS 4.1 schedule for a batch job, you'll find new .bat and .txt files created in the %DS_COMMON_DIR%/LOG/jobserver location. After that the Windows task scheduler will take care of scheduling and execution initiation.
Check if you find the .bat and .txt and verify that Windows Scheduled Tasks has a task added for this . Make sure you are able to execute manually and from Windows Scheduled Tasks.
I think the problem might be related to Windows user permission.
NB: Assuming it's Windows.
let me know if this helps/
Nawfal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The path should be something like this (on the job server ) C:\Documents and Settings\All Users\Application Data\SAP BusinessObjects\Data Services\log\JobServer. Please confirm if this is where you looked?
Also do you see any new task on the Windows task scheduler (in the job server machine)?
Finally can you do "Export Execution Command" check the path where it's stated as exported in the message dispalyed above starting "Export was successful. ...
Nawfal
Hi Nawfal,
The directory ("Export Execution Command") is C:\ProgramData\SAP BusinessObjects\Data Services\conf
In C:\ProgramData\SAP BusinessObjects\Data Services\log -> I found the txt and bat file (date=create/edit time of schedule). A third file is there (date=starttime of schedule): AL_RWJobLauncherLog.txt
In this Log-File contains the following: "Unable to log on: Could not connect to server sap. Please check that the server name is correct, and that the server is running."
But the server is not correct because our server is called sap-bo01. It seems that Data Services 4.1 truncate the servername by "-". Is this possible? DS 4.1 is still in Ramp-up (since 3 months) but I can't imagine that this cause this error...
Regards,
Peter
Hi Adrian,
txt:
-PLocaleUTF8 -R"sap-bo01.txt" -G"9514427a_f2ac_464e_9122_77928f770bd8" -t5 -T14 -LocaleGV -CtBatch -Cmsap-bo01 -CaAdministrator -CjSAP-BO01 -Cp3500
bat:
E:\PROGRA~2\SAPBUS~1\DATASE~1/bin/AL_RWJ~1.EXE "C:\ProgramData\SAP BusinessObjects\Data Services/log/JobServer_1/" -w "inet:SAP-BO01:3500" -C "C:\ProgramData\SAP BusinessObjects\Data Services/log/TEMP.txt"
TEMP is the batch job name.
Hi,
AL_RWJobLauncherLog.txt:
--------------------------
09_11_2012 16:42:59 CRWJobLauncherApp::InitInstance called.
Unable to log on: Could not connect to server sap. Please check that the server name is correct, and that the server is running.
09_11_2012 16:43:04 *** RWJL_EXIT called.
09_11_2012 16:43:04 *** ERROR: RWJobLauncher failed to connect to CMS. (BODI-1250220)
If I edit the hosts file (localhost = sap) the error changes:
"The connection could not be established to CMS sap...it exists a wrong connection to @@sap-bo01:6400(sap-bo01:6400)... logon can not be continued"
the problem with JobLauncher not able to connect to CMS Server from this machine, while creating the schedule you have selected to use password file, so the CMS Connection information is stored in sap-bo01.txt file, this file will have the CMS Connection information that you see in DS Management Console under Administrator -> CMS Connection
logon to DS MC and check if this information is correct or not
don't change the host file, try pinging the machine sap-bo01 from this Job Server machine
you can also reschedule the Job but inselect the use password file option, now will you will be able to see the CMS Server name in the command line in the .txt file that is created during schedule
check if that is correct
the error message says "Unable to log on: Could not connect to server sap" did you paste the incomplete message ? the server name is showing up as sap but the file name is sap-bo01
do you have Designer Installed on this machine ? if yes, trying conneting to CMS using that and see if you get the same error
BI Plattform (CMS) and Data Services (Job Server) are installed on the same machine (sap-bo01). Pinging is successful. In DSMC the CMS Connection is successful, too. The content of password file is a string consisting of numbers and letters. You cannot recognize if cms name is correct in this file.
The error message is posted correctly. A ping with 'sap' is unsuccessful of cause. In my opinion the machine want to connect to server 'sap' but should connect to server 'sap-bo01'.
Is a scheduled batch job successful if I have a server/CMS without a hyphen? Can somebody confirm this? Otherwise it seems to be a bug.
the problem could be with launcher not able to parse the CMS Name from the command line or if it's encrypted and stored in the file or the command itself is not correct
can you export/schedule the Job again but uncheck use password file option, this will put the CMS Name, user etc to the .txt file that is exported , open that file and see how the details looks like, try quoting the name and see if that works
I suspect, the parsing is causing the issue because of hyphen, if that is the case then it's a bug, did you file a case with support ? if yes, what is the case number ?
When we change the CMC administrator Password ...
The Data Services batchs do not work any more.
Because the .txt for each .bat contain the old password.
the issue is that, the new batch process generated now with the new password still contain the old encripted password in the .txt files.
This is clearly a bug.
Well;
You have to manually generate the current encrypted password with:
C: \ Users \ adm_sanchjo> 😧 \ "Program Files (x86)" \ "SAP BusinessObjects" \ "Data Services" \ bin \ Al_Encrypt.exe "-p NuevoPasword" >> d: \ pswd_510_adminNew.txt
And replace the new encripted password in ALL the .txt files.
A curious data:
I don't understand why is neccesary remove the first 4 characteres from the new string (encripted password)
"LXAg"
And the rest of the string will be your new encipted password now
by example
:
LXAgU3Vkb2t1NjAxNQ -- wrong (string generated)
U3Vkb2t1NjAxNQ -- correct
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Had same issue with BODS Job Scheduler, failing to kick off jobs. Please check out SAP Note 2032665 - RWJobLauncher failed to connect to CMS. We are on IPS 4.1 SP4 with SAP Data Services 4.2 SP2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Magesh,
Details in KBA
2032665 - RWJobLauncher failed to connect to CMS
https://service.sap.com/sap/support/notes/2032665
we got the same error.
In DS very strange approach to schedule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
Did you change the Administrator password recently?
To be sure that the password is not the problem, could you export the job into the .bat /.txt without checking "use the password file" (so that the username/password will be in the .bat and .txt file themselves and substitute the password after the "-U Administrator"
With the correct password that you created with the %LINK_DIR%/bin/AL_Encrypt tool:
AL_Encrypt <password> <= will give you a hash you should use.
Should like something like -P9rjutuggy (-P and then a hash).
Try to execute the .bat file and see if there is an error in the AL_RWJobLauncherLog.txt
Regards
Norbert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mikhail,
I do not have the issue with "-", I have a quite different issue under my sleeve. Sorry, I should have mentioned this too.
The issue I face is,
CRWJobLauncherApp::InitInstance called.
Unable to connect to CMS XXXXXX:6400.
A wrong connection is made to @@XXXXXXX.YYYYY:6400(XXXXXXX.YYYYY:6400). Logon cannot continue.
02_28_2013 14:44:32 *** RWJL_EXIT called.
This happens when i try to execute a .bat file exported from the Data Services Management Console
I have seen the comment that, changing the ETL machine name with the IP address has resolved the issue and wanted to know the steps in achieving it?
Hi Peter,
Did u checked the Schedule is in active? Also please share the scheduling details which you maintained.
Thanks,
Ramakrishna Kamurthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the checkbox "Active" is checked, so the schedule is activated. I took the "Data Services Scheduler", all weekdays (monday - sunday) recurring, once a day with starttime now. Job Server is selected and should be configured correctly. I didn't edited other checkboxes or preferences, so this shoulb be standard settings.
Regards,
Peter
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.