Hi,

In the manager app howto:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

The example for section "Deploy A New Application" is wrong. The
following:

http://localhost:8080/manager/install?path=/bar&war=file:/path/to/bar.war

ought to be:

http://localhost:8080/manager/install?path=/bar&war=jar:file:/path/to/bar.war!/


The attached patch fixes this, and adds an example using "war=jar:http://..";


thanks,

--Jeff

Index: webapps/tomcat-docs/manager-howto.xml
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-4.0/webapps/tomcat-docs/manager-howto.xml,v
retrieving revision 1.3
diff -u -r1.3 manager-howto.xml
--- webapps/tomcat-docs/manager-howto.xml       2001/09/13 15:49:15     1.3
+++ webapps/tomcat-docs/manager-howto.xml       2001/09/14 03:06:25
@@ -179,7 +179,9 @@
 <source>
 http://localhost:8080/manager/install?path=/foo&amp;war=file:/path/to/foo
 
-http://localhost:8080/manager/install?path=/bar&amp;war=file:/path/to/bar.war
+http://localhost:8080/manager/install?path=/bar&amp;war=jar:file:/path/to/bar.war!/
+
+http://localhost:8080/manager/install?path=/bar&amp;war=jar:http://server:port/to/bar.war!/
+
 </source>
 
 <p>Install and start a new web application, attached to the specified context

Reply via email to