Trying to use the Autosys API

Document ID : KB000039435
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue:

We are trying to get the Autosys API working on a server which has the R11.3.5 Autosys client installed on it. 

The Autosys client on Server2 is working fine and is able to communicate with the Application Server on Server1. 

(eg. I can issue chk_auto_up and sendevent commands from the Autosys client on Server2 which are sent to Server1 and the output is returned.) 

Now that we have got the Client on Server2 communicating with the Application Server on Server1, the Applications development team want to be able to interface the Autosys API on Server2 so that they can issue sendevent commands from their application scripts. However, when they run tests, they get timeout errors. 

 

Environment:

WAAE R11.3.5 

 

Resolution:

Problem was related to the encryption type in the config file where the default encryption was being used.

Resolved by setting AsConstants.ENCRYPTION_TYPE_DEFAULT in the API as in the following example :

AsApi api = new AsApi(args[0], Integer.parseInt(args[1]), AsConstants.ENCRYPTION_TYPE_DEFAULT, "");