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 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. Try <b><tt>tomcat help</tt></b> to see
+a base list of parameters available.
<br>
<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="load-modules" funcs="jk_init,jk_service"
shlib="sys:/jakarta-tomcat-3.3/bin/netscape/netware/i386/nsapi_rd.nlm"</tt>
<br><tt>Init fn="jk_init"
worker_file="sys:/jakarta-tomcat-3.3/conf/workers.properties"
log_level="debug"
log_file="sys:/jakarta-tomcat-3.3/logs/nsapi.log"</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="assign-name" from="/servlet/*"
name="Tomcat"</tt>
+<br><tt>NameTrans fn="assign-name" from="/*.jsp"
name="Tomcat"</tt>
<br><tt>NameTrans fn="assign-name" from="/examples/*"
name="Tomcat"</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><Object name=Tomcat></tt>
+<br><tt><Object name="Tomcat"></tt>
<br><tt>ObjectType fn="force-type" type="text/plain"</tt>
-<br><tt>Service fn="jk_service" worker="ajp12"</tt>
+<br><tt>Service fn="jk_service" worker="ajp13"</tt>
<br><tt></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>.
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. A good location is the modules directory
under your Apache installation. 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. 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 "SYS:/jakarta-tomcat-3.3/conf/mod_jk.conf-auto"</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. 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
+<tomcat_home>/conf/auto/mod_jk.conf. 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 "SYS:/jakarta-tomcat-3.3/conf/auto/mod_jk.conf"</p>
<p>You can also just copy the appropriate configuration directives from the
-mod_jk.conf-auto file to your httpd.conf file. For additional information,
-look in <a href="mod_jk-howto.html">Working with mod_jk</a>.</p>
+generated mod_jk.conf file to your httpd.conf file. For additional
+information, look in <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>