ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
When I launch a Java program in from my script, it does not run properly.
Article ID: 3917
CA Workload Automation AE - Business Agents (AutoSys)CA Workload Automation AE - Scheduler (AutoSys)Workload Automation Agent
On a Windows Remote Agent, we want to schedule a dos batch file .bat that launches a java program but with Autosys the java program doesn't start. When we schedule this dos batch file in Windows scheduled tasks, the java program starts.
The remote agent was not able to resolve relative paths passed as arguments to the main script.
Autosys and System Agent release 11.0 on Windows.
Use absolute PATHs instead of relative PATHs everywhere in the .bat file so the Java program can start successfully.