Loading RA Agent

Document ID : KB000089617
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Loading RA Agent
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/u_pick_it@149.24.218.41: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:

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