Before you begin
You can configure all the
WorldServer components to start and stop automatically when your machine reboots by using an installed script. This file is included in the
$WS_HOME folder and is named
worldserver.
Procedure
- Open the worldserver file in a text editor.
- Set the WS_HOME variable to the folder where you installed WorldServer.
For example, WS_HOME=/usr/local/idiom/worldserver.
- Set the WS_USER variable to the user that you want WorldServer to run as.
For example, WS_USER=worldserver.
- Set the JAVA_HOME variable to the Java SDK installation folder that you want to use.
For example, JAVA_HOME=/usr/java/j2sdk1.5.0_09.
- If you are using Oracle as your WorldServer database management system or as a content repository, set the ORACLE_HOME variable to the folder of your Oracle installation.
For example, ORACLE_HOME=/oracle/11.1.0/oradata.
- Copy the worldserver file to the /etc/init.d folder to make it available for use as a startup and shutdown script. This step requires root permissions.
- Enable the script by running the following command as root:
> chkconfig –add worldserver