next up previous
Next: EDG Java Security Reconfiguration Up: Configuration and Running Previous: LCFG Configuration

Starting and Stopping the Tomcat Service

The EDG Java Security Tomcat RPM provides an init.d script to easily start and stop the Tomcat service and to manage the service proxy.

By the end of the manual or the LCFG configuration the init script is linked into /etc/init.d/edg-tomcat4. In order to prevent accidental startup of the original tomcat4 script you need to reconfigure the system:

   chkconfig --del tomca4
   chkconfig --add edg-tomcat4
From this point you may use either ${EDG_LOCATION}/etc/init.d/edg-tomcat4 <command> or
service edg-tomcat4 <command> commands to manipulate the Tomcat server.


To start the service (as root):

${EDG_LOCATION}/etc/init.d/edg-tomcat4 start
will create the service proxy from the hostkey, create the /etc/tomcat4/server.xml file from the contents of the $EDG_LOCATION_VAR/etc/server.xml.d/ directory, and then start the Tomcat server. Note that:

To stop the service:

${EDG_LOCATION}/etc/init.d/edg-tomcat4 stop
Note that the proxy is not deleted upon stop. To explicitly delete the proxy:

${EDG_LOCATION}/etc/init.d/edg-tomcat4 proxy-destroy

To renew the proxy manually:

${EDG_LOCATION}/etc/init.d/edg-tomcat4 proxy

To restart the service:

${EDG_LOCATION}/etc/init.d/edg-tomcat4 restart


next up previous
Next: EDG Java Security Reconfiguration Up: Configuration and Running Previous: LCFG Configuration
2004-05-05