tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-tomcat/src/doc NT-Service-howto.html
Date Wed, 03 May 2000 12:34:24 GMT
shachor     00/05/03 05:34:24

  Added:       src/doc  NT-Service-howto.html
  A working NT service for Tomcat
  Revision  Changes    Path
  1.1                  jakarta-tomcat/src/doc/NT-Service-howto.html
  Index: NT-Service-howto.html
  $Header: /home/cvs/jakarta-tomcat/src/doc/NT-Service-howto.html,v 1.1 2000/05/03 12:34:24
shachor Exp $
  $Revision: 1.1 $
  $Date: 2000/05/03 12:34:24 $
  <meta http-equiv=Content-Type content="text/html">
  <title>Working with the Jakarta NT Service</title>
  <h1>Working with the Jakarta NT Service</h1>
  <p>By Gal Shachor
  <tt>&lt;<a href=""></a>&gt;
  <p>The Jakarta NT service is an executable that wraps the
  Tomcat servlet container and executes it in the background as an NT service. To
  install it you will need to:</p>
   <li>Get a
       hold on the NT executable (jk_nt_service.exe)</li>
        the executable from <a
        and save it under the name jk_nt_service.exe.</li>
       a properties file that provides the service with Tomcat information
        a template from <a
        and save it under the name</li>
        the wrapper.tomcat_home property to point at your tomcat home.</li>
        the wrapper.java_home property to point at your Java home.</li>
       jk_nt_service by running it with the -i flag.</li>
        jk_nt_service -I &lt;name of service&gt; &lt;path to updated wrapper
        of service&gt; should be a single word (without and spaces) such as
        to updated wrapper properties&gt; should point to your
        file (and the service will check it's existence.)</li>
        example, a valid command line can be jk_nt_service -I Jakarta</li>
       tomcat as a service.</li>
        the command line, execute net start &lt;name of service&gt; (e.g. net
        start Jakarta)</li>
        the NT services applet, highlight your service and press start.</li>
       Tomcat as a service.</li>
        the command line, execute net stop &lt;name of service&gt; (e.g. net
        start Jakarta)</li>
        the NT services applet, highlight your service and press stop.</li>
  <p><b>Special note</b>: The Tomcat service is using AJPV12 to
  perform clean shutdown and you should make sure that an AJPV12 connector is
  defined in your server.xml. In the absence of a configured AJPV12 port the
  Tomcat service will kill Tomcat abruptly (that is murder it) without giving it
  a chance to clean up. </p>
  <h1>Advance Setup</h1>
       the Tomcat NT service properties. By default the service will run in manual
       mode and under the local system user account. To modify this, open the NT
       services applet, highlight your service and press startup. A popup window
       is opened and you will be able to customize the service to your
       the classpath. The classpath is determined by the wrapper.class_path
       properties, to modify it just add/remove/modify wrapper.class_path lines.
       The complete classpath is calculated by concatenating all the
       wrapper.class_path lines and putting &quot;;&quot; between them.</li>
       several Tomcat instances. Say that you want one Tomcat to run for
       &quot;production&quot; and one for development, you can do that. All you
       will need to do is to install the Tomcat service twice and under two
       different names (and with different file and server.xml
       files). </li>
        sure that the AJPV12 and HTTP connectors are modified in each server.xml
        file to prevent a clash.</li>
        sure to update the wrapper.shutdown_port property in
        to point to the correct AJPV12 shutdown ports (default is 8007). </li>
       the command line used to start Tomcat. The Tomcat service is taking all
       it's command line configuration from! To customize the
       command line, edit the property wrapper.cmd_line and make sure that it
       makes a legal Java command line.</li>
  <p>Please send feedback, bug report or any additional information to
  <tt>&lt;<a href=""></a>&gt;

View raw message