Before you begin
A script is installed that can be used to automatically start and stop all of the WorldServer components. This file is included in the
$WS_HOME directory, and is named
$WS_HOME/unix/worldserver.
To configure WorldServer to start and stop automatically when the machine reboots and shuts down:
Procedure
- Open the $WS_HOME/unix/worldserver file in a text editor.
- Search for the line containing “
WS_HOME=” and set the WS_HOME variable to the directory that you installed WorldServer into, for example:
WS_HOME=/usr/local/idiom/worldserver
- Search for the line containing “
WS_USER=” and set the WS_USER variable to the user that you want WorldServer to run as, for example:
- Search for the line containing “
JAVA_HOME=” and set the JAVA_HOME variable to the directory of your Java SDK installation to use, for example:
JAVA_HOME=/usr/java/j2sdk1.5.0_09
- If you are using Oracle as your WorldServer database or as a content repository, search for the line containing “
ORACLE_HOME=” and set the ORACLE_HOME variable to the directory of your Oracle installation, for example:
ORACLE_HOME=/oracle/10.0.0/oradata
- Copy this file into the /etc/init.d directory to make it available for use as a startup and shutdown script. This step requires root permissions.
- To enable this script: