search cancel

Loading RA Agent

book

Article ID: 89617

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Loading RA Agent

Environment

Release: AAMOS499000-8.0-Automic Applications Manager-OS400 Agent
Component:

Resolution

Detailed Description and Symptoms

The following script can be used to load the Automic RapidAutomation Agent jar file from the system command line. Please note that this is only advised if you have security restrictions preventing the usage the Rapid Automation interface.


Solution

1. Log into the Application Manger master server as the Automic OS user.

2. Create a "cit" directory in $AW_HOME.

3 .Place a copy of the Automic provided Agent jar file in $AW_HOME/cit/.

4. Place the following code into a shell script in $AW_HOME.

 

set_class_path()
{
   if [ "$AWWEB_HOME" != "" ]
      then
      cd $AWWEB_HOME/web/classes
      . CLASSPATH
   else
     echo environment variable AWWEB_HOME not defined
   fi
}
pass=$1
p=`pwd`
set_class_path
java -DCIT_TMP=$AW_HOME/cit/tmp -DCIT_DEPLOY=$AW_HOME/cit/ com.appworx.client.cit.CmdLineLoader jdbc:oracle:thin:appworx/[email protected]:1523:APPWX $AW_HOME/cit/BannerAgent 1
cd $p
exit 0


5. Modify the jdbc connection string  to suite your environment.
 
6. Execute the script.
 
When the agent is successfully loaded the following output will be returned:

[[email protected] stocktonp]$ chmod 755 raLoader.sh
[[email protected] stocktonp]$ ./raLoader.sh
/opt/AM/stocktonp/cit/
AgentPanelDef.xm
BannerJob.xml
Capture.xml
ext: 2