You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2009/04/08 06:11:57 UTC
svn commit: r762920 -
/tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml
Author: rjung
Date: Tue Apr 7 19:33:13 2009
New Revision: 762920
URL: http://svn.apache.org/viewvc?rev=762920&view=rev
Log:
Improve Netscape docs page:
- Fix typo
- Remove whitespace in example config (breaks configuration)
- Add warning about whitespace
Modified:
tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml
Modified: tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml?rev=762920&r1=762919&r2=762920&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml Tue Apr 7 19:33:13 2009
@@ -225,8 +225,8 @@
Create a new configuration object by adding the following lines to the end of the obj.conf file
<Object name="jknsapi">
- ObjectType fn=force-type type=text/plain
- Service fn="jk_service" method="*" worker="worker1"
+ ObjectType fn=force-type type=text/plain
+ Service fn="jk_service" method="*" worker="worker1"
</Object>
</source>
@@ -256,6 +256,11 @@
<p>
That's all, now you should start tomcat and ask for http://server:port/servlets-examples/
</p>
+<warn>
+The file <b>obj.conf</b> seems to be sensible to leading white space in lines, especially in
+the <b>Object</b> element. Make sure you have no leading white space (no indentation)
+on any line of this file.
+</warn>
<subsection name="Adding additional Contexts">
<p>
@@ -342,7 +347,7 @@
</p>
<p>
-This requires a change to NemaTrans portion of <b>obj.conf</b>.
+This requires a change to NameTrans portion of <b>obj.conf</b>.
</p>
<source>
@@ -413,10 +418,10 @@
<source>
<Object name="jknsapi">
- ObjectType fn=force-type type=text/plain
- Service fn="jk_service" worker="worker1" path="/examples/*"
- Service fn="jk_service" worker="worker2" path="/webpages/*"
- Service fn="jk_service" worker="worker1"
+ ObjectType fn=force-type type=text/plain
+ Service fn="jk_service" worker="worker1" path="/examples/*"
+ Service fn="jk_service" worker="worker2" path="/webpages/*"
+ Service fn="jk_service" worker="worker1"
</Object>
</source>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org