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.

Test connection fails in Autosys API Cxn configuration when trying to get sendevent action added in Jaws client

book

Article ID: 238425

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

Purpose is to get the possibility to perform sendevent commands from Jaws Client.

After installing an Autosys client on the AAI platform host and specifying the application server and port number in "Autosys API Cxn configuration" the test connection fails.

Environment

Release : 6.4.1

Component : AUTOMIC AUTOMATION INTELLIGENCE INTEGRATION FOR AUTOSYS

Resolution

Execute following steps to address the connection failed message.

1. in <install_aai_dir>/jaws.sh , added at the start of the script following export statement

export LD_LIBRARY_PATH=/opt/CA/WorkloadAutomationAE/autosys/lib:$LD_LIBRARY_PATH

2. replaced "<install_aai_dir>/autosys_api/lib/asapi.jar with the one from $AUTOSYS/lib/asapi.jar

Stop/start JAWS.

Validation of test connection should work.

Here are the next steps to configure further the "sendevent" feature.

1. Setup an EEM Domain on your Jaws client.

  • Pick the Admin Tab -> User Management
  • Select Domains (+)
  • Add EEM domain to Jaws. Example below:

2. Set up an EEM Policy

  • Login into EEM Login: EiamAdmin Password: eiamadmin
  • Access the JAWSApplication Policy.
  • Verify the createSendEvent Policy has been created. (Allows users to use the sendevent feature in JAWS)
  • Check the createSendEvent box and save

  • Log into Jaws Client as the EEM user. The user should have JAWSAdministrators rights. See example below

3.Running Sendevent Commands from Jaws

  • Login as the EEM user to perform the sendevent commands.
  • The sendevent options will be available from any of the gantt views. The gantt views are available from the Analysis or Monitoring page
  • Right click on the job. At the bottom will be the sendevent command
  • The sendevent command expands
    • STARTJOB
    • FORCE_STARTJOB
    • KILL_JOB
    • JOB_ON_ICE
    • JOB_ON_HOLD
    • JOB_OFF_HOLD
    • DELETEJOB
    • CHANGE_STATUS

 

 

Additional Information

You can check for error messages in the hibernate.log in case validation of connection test fails.

One more requirement being that the autosys client needs to be installed on the AAI server and $AUTOSYS environment needs to be set  before starting AAI .

We can also add this line at the start of the jaws.sh script

export AUTOSYS=/opt/CA/WorkloadAutomationAE/autosys

 

 

Attachments