mmanders    01/10/24 09:31:21

  Modified:    src/doc  Tomcat-on-NetWare-HowTo.html
  Log:
  Fixed errors related to new functionality in 3.3 release.
  
  Revision  Changes    Path
  1.3       +25 -19    jakarta-tomcat/src/doc/Tomcat-on-NetWare-HowTo.html
  
  Index: Tomcat-on-NetWare-HowTo.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/doc/Tomcat-on-NetWare-HowTo.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Tomcat-on-NetWare-HowTo.html      2001/05/18 20:39:39     1.2
  +++ Tomcat-on-NetWare-HowTo.html      2001/10/24 16:31:21     1.3
  @@ -160,15 +160,15 @@
   <br>; that will automatically close (-nsac) with the screen called Tomcat
   <br>; (-snTomcat) and the current working directory set&nbsp; to TOMCAT_HOME
   <br>; (-envCWD=$TOMCAT_HOME)
  -<br>java -nsac -snTomcat -envCWD=$TOMCAT_HOME -classpath $TOMCAT_CLASSPATH 
-Dtomcat.home=SYS:\jakarta-tomcat.3.3 org.apache.tomcat.startup.Main %1
  +<br>java -nsac -snTomcat -envCWD=$TOMCAT_HOME -classpath $TOMCAT_CLASSPATH 
-Dtomcat.home=SYS:\jakarta-tomcat-3.3 org.apache.tomcat.startup.Main %1 %2 %3 %3 %5 %6 
%7 %8 %9
   <p>As the comment states, you will need to make sure that TOMCAT_HOME points
   to the correct directory.
   <p>By putting this NCF file in SYS:\System you can start Tomcat by just
  -typing <b><tt>tomcat</tt></b> at the system console. You can also
  +typing <b><tt>tomcat start</tt></b> at the system console. You can also
   add this to your autoexec.ncf to automatically start Tomcat when your system
  -comes up. The %1 at the end of the command line allows you also pass in
  -a
  -<b><tt>-stop</tt></b> parameter to shutdown Tomcat.
  +comes up. The %1 ... %9 at the end of the command line allows you also pass in
  +additional parameters to Tomcat.&nbsp; Try <b><tt>tomcat help</tt></b> to see 
  +a base list of parameters available.
   <br>&nbsp;
   <h3>
   <a NAME="Running Tomcat with the NetWare Enterprise Web Server"></a>2.
  @@ -185,27 +185,29 @@
   the NetWare Web Manager.</li>
   
   <li>
  -In the Init section add:</li>
  +In the Init section add the following 2 lines (if you see more than 2 lines, 
  +your browser is wrapping the lines):</li>
   
   <br><tt>Init fn=&quot;load-modules&quot; funcs=&quot;jk_init,jk_service&quot; 
shlib=&quot;sys:/jakarta-tomcat-3.3/bin/netscape/netware/i386/nsapi_rd.nlm&quot;</tt>
   <br><tt>Init fn=&quot;jk_init&quot; 
worker_file=&quot;sys:/jakarta-tomcat-3.3/conf/workers.properties&quot;
   log_level=&quot;debug&quot; 
log_file=&quot;sys:/jakarta-tomcat-3.3/logs/nsapi.log&quot;</tt>
   <li>
  -In the default object NameTrans section add:</li>
  +In the default object NameTrans section add the following 3 lines:</li>
   
   <br><tt>NameTrans fn=&quot;assign-name&quot; from=&quot;/servlet/*&quot; 
name=&quot;Tomcat&quot;</tt>
  +<br><tt>NameTrans fn=&quot;assign-name&quot; from=&quot;/*.jsp&quot; 
name=&quot;Tomcat&quot;</tt>
   <br><tt>NameTrans fn=&quot;assign-name&quot; from=&quot;/examples/*&quot; 
name=&quot;Tomcat&quot;</tt>
   <li>
  -Create a new configuration object by adding the following lines to the
  +Create a new configuration object by adding the following 4 lines to the
   end of the obj.conf file:</li>
   
  -<br><tt>&lt;Object name=Tomcat></tt>
  +<br><tt>&lt;Object name=&quot;Tomcat&quot;></tt>
   <br><tt>ObjectType fn=&quot;force-type&quot; type=&quot;text/plain&quot;</tt>
  -<br><tt>Service fn=&quot;jk_service&quot; worker=&quot;ajp12&quot;</tt>
  +<br><tt>Service fn=&quot;jk_service&quot; worker=&quot;ajp13&quot;</tt>
   <br><tt>&lt;/Object></tt></ol>
   Now stop and restart the NetWare Enterprise Web Server, make sure that Tomcat is
   running (i.e. run the <b>tomcat.ncf</b> file mentioned in <a href="#Running Tomcat 
Standalone">Running
  -Tomcat Standalone</a> and you should be
  +Tomcat Standalone</a>) and you should be
   able to access <a href="http://server:port/examples/";> 
http://server:port/examples/</a>.&nbsp;
   Additional configuration information can be found in <a 
href="tomcat-netscape-howto.html">Tomcat
   Netscape HowTo</a>.
  @@ -215,15 +217,19 @@
   To run Tomcat with Apache on NetWare, you need to download mod_jk.nlm and
   copy it to you NetWare server.&nbsp; A good location is the modules directory
   under your Apache installation.&nbsp; If you copy mod_jk.nlm there, then
  -a base configuration file called mod_jk.conf-auto is created when Tomcat
  -starts up that has a default set of Apache configuration directives that
  -map appropriate URIs from Apache to Tomcat.&nbsp; Just add the following line to
  -your httpd.conf file, replacing SYS:/jakarta-tomcat-3.3 with the directory where 
tomcat is
  -installed:
  -<p>Include &quot;SYS:/jakarta-tomcat-3.3/conf/mod_jk.conf-auto&quot;</p>
  +a base configuration file called mod_jk.conf can be generated by Tomcat that 
  +has a default set of Apache configuration directives that
  +map appropriate URIs from Apache to Tomcat.&nbsp; First, run 
  +<tt><b>tomcat jkconf</tt></b> (i.e. run the <b>tomcat.ncf</b> file mentioned 
  +in <a href="#Running Tomcat Standalone">Running Tomcat Standalone</a> with a 
  +<tt><b>jkconf</tt></b> parameter) to generate the file 
  +&lt;tomcat_home>/conf/auto/mod_jk.conf.&nbsp; Then add the following line to 
  +your httpd.conf file, replacing SYS:/jakarta-tomcat-3.3 with the directory 
  +where Tomcat is installed:
  +<p>Include &quot;SYS:/jakarta-tomcat-3.3/conf/auto/mod_jk.conf&quot;</p>
   <p>You can also just copy the appropriate configuration directives from the
  -mod_jk.conf-auto file to your httpd.conf file.&nbsp; For additional information,
  -look in&nbsp; <a href="mod_jk-howto.html">Working with mod_jk</a>.</p>
  +generated mod_jk.conf file to your httpd.conf file.&nbsp; For additional 
  +information, look in&nbsp; <a href="mod_jk-howto.html">Working with mod_jk</a>.</p>
   <h3>
   <a NAME="Building Tomcat for use on NetWare"></a>Building Tomcat for use
   on NetWare</h3>
  
  
  


Reply via email to