Problem with starting a windows agent.
search cancel

Problem with starting a windows agent.

book

Article ID: 89772

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Problem with starting a windows agent.

Environment

Release: AOATAM99000-8.0-Automic-One Automation Tools-Application Manager
Component:

Resolution

Detailed Description and Symptoms

Trying to start a windows agent/executor and you are receiving the following error: 

Error in CreateProcess Call, Errorcode 2 


Cmd: "javaw" -Xmx256m com.uc4.ucdf.UCDialogFactory -Uscott  
Path: . 
The system connot find the file specified 
Exit Loader with exitcode 2 

Solution

?The error "The system connot find the file specified" is refering to the "javaw" command.

As a test, open a dos command line and type the following:
> java -version

If this returns:
'java' is not recognized as an internal or external command,
operable program or batch file.

Then this means the directory path for fine the java executable is not in the windows environment variable %path%.

Please add the java bin directory to the windows Path and restart the agent.