Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in for Database | - |
Not Applicable | - |
Resolution:
- Create a script, say S100startrepo, which will have all the varibales set and also the process command to start the repository in the background (that is, copy the content of repository server batch file and all the required paths into this script).
- Edit this script as follows, so that the repository is started as a background process.
$TIB_JAVA_HOME/bin/java -Xmx512m -cp $CP com.tibco.repo.RemoteRepoProcess /local/tibco/repo322/bin/server.ini &
- Please note that '&' is put at the end of the command which starts as a background process. Also note that the above command has full path for both java executable and server.ini file.
- Store the script in /etc/rc2.d directory.
[Please note that in /etc/rc2.d directory script names that start with 'S' are startup scripts and script name that start with 'K' are stop process scripts. Also the number which follows the 'S'/'K' determines the order in which these scripts start when the system comes up.]
- As you are aware, you must be a super user to create these scripts in /etc/rc2.d directory and provide executable
permission for this script.
- Also, create a similar script which will start an adbagent.
- Similarly, you can create different scripts to stop the repository and the adgagent.
Now, whenever the system is started, these scripts would also get started automatically. The running processes can be checked with 'ps -eaf' command.