You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lawlor, Frank" <Fr...@AthensGroup.com> on 2002/03/18 19:55:11 UTC

Re: Problem with run Tomcat 4.0.3 as a service on win2k

There are other differences between 3.x and 4.x that
require wrapper.properties changes.  Failure to start
the service is most often a wrapper.properties problem.
You do not have to un/reinstall the service to make
wrapper.properties changes.  Just stop/start.

Here are some of the key lines in mine:

# Remove all the 3.3 entries and have only this for 4.x:
wrapper.class_path=$(wrapper.tomcat_home)\bin\bootstrap.jar

#
# This is Tomcat's startup class (the class that contains Tomcat's
# starting point.
#
wrapper.startup_class=org.apache.catalina.startup.Bootstrap

# I set the xml parser in the invocation
# -Xrs is only required if jdk is pre 1.3.1?
wrapper.cmd_line=$(wrapper.javabin) -Xrs
-Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser
-Dcatalina.home=$(wrapper.tomcat_home) -classpath $(wrapper.class_path)
$(wrapper.startup_class) -config $(wrapper.server_xml) start

Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>