I am trying to get Tomcat 4 to run as an service on win2000pro. I copied the wrapper.properties file from my Tomcat 3.2 installation and placed it in CATALINA_HOME\conf\ directory and used jk_nt_service to create the service. When I try to start the service, windows returns a message saying the service didn't return an error.
Here my wrapper.properties file: (i included all the .jar i found just to be safe) ############################################################## # # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16 01:59:22 larryi Exp $ # $Revision: 1.2.2.1 $ # $Date: 2000/10/16 01:59:22 $ # # # jk_service.properties - a bootstrup file for the Tomcat NT service. # # This file provides jk_nt_service with the needed information to # start tomcat at a different process. # # As a general note, the characters $( and ) are used internally to define # macros. Do not use them!!! # # Whenever you see a set of lines such as: # x=value # y=$(x)\something # # the final value for y will be value\something # # Normaly all you will need to modify is the first two properties, i.e. # wrapper.tomcat_home and wrapper.java_home. Most of the configuration # is derived from these two. # # # wrapper.tomcat_home should point to the location where you # installed tomcat. This is where you have your conf, webapps and lib # directories. # wrapper.catalina_home=C:\Tomcat401 # # wrapper.java_home should point to your Java installation. Normally # you should have a bin and lib directories beneath it. # wrapper.java_home=C:\Java\j2sdk1.4.0-beta3 # #------ ADVANCED MODE ------------------------------------------------ # Make sure that you read the how-to before making too many changes. #--------------------------------------------------------------------- # # # Defining where the service is going to put the standard # output of Tomcat. This is where System.out.println and # System.err.println goes to. # #wrapper.stdout=$(wrapper.catalina_home)\logs\StandardOut.log #wrapper.stderr=$(wrapper.catalina_home)\logs\StandardErr.log # # Additions to the path. put here directories where you store DLLs for # native methods etc. # #wrapper.ld_path=d:\ wrapper.ld_path=c:\ # # Defining the classpath. All the rows that belongs to the class_path # property are concatenated to create the classpath for Tomcat. # # If you have additional locations that you would like to add to the # claspath you should add a new wrapper.class_path=<location> line. # wrapper.class_path=$(wrapper.catalina_home)\classes wrapper.class_path=$(wrapper.catalina_home)\common\lib\servlet.jar wrapper.class_path=$(wrapper.catalina_home)\lib\jasper-runtime.jar wrapper.class_path=$(wrapper.catalina_home)\lib\jasper-compiler.jar wrapper.class_path=$(wrapper.catalina_home)\lib\naming-factory.jar wrapper.class_path=$(wrapper.catalina_home)\common\lib\activation.jar wrapper.class_path=$(wrapper.catalina_home)\common\lib\jndi.jar wrapper.class_path=$(wrapper.catalina_home)\common\lib\jta.jar wrapper.class_path=$(wrapper.catalina_home)\common\lib\mail.jar wrapper.class_path=$(wrapper.catalina_home)\common\lib\naming-common.jar wrapper.class_path=$(wrapper.catalina_home)\common\lib\xerces.jar wrapper.class_path=$(wrapper.catalina_home)\common\lib\naming-resources.jar wrapper.class_path=$(wrapper.catalina_home)\common\lib\tyrex-0.9.7.0.jar wrapper.class_path=$(wrapper.catalina_home)\common\lib\jdbc2_0-stdext.jar wrapper.class_path=$(wrapper.catalina_home)\lib\JTurbo.jar wrapper.class_path=$(wrapper.catalina_home)\lib\jconn2.jar wrapper.class_path=$(wrapper.catalina_home)\bin\bootstrap.jar wrapper.class_path=$(wrapper.catalina_home)\server\lib\catalina.jar wrapper.class_path=$(wrapper.catalina_home)\server\lib\warp.jar wrapper.class_path=$(wrapper.catalina_home)\server\lib\tomcat-util.jar wrapper.class_path=$(wrapper.catalina_home)\server\lib\tomcat-ajp.jar # # This is where Javac is located in JDK1.2.x # wrapper.class_path=$(wrapper.java_home)\lib\tools.jar # # and a tribute to JDK1.1.x # wrapper.class_path=$(wrapper.java_home)\lib\classes.zip # # This is the Java interpreter used for running Tomcat # wrapper.javabin=$(wrapper.java_home)\bin\java.exe # # This is Tomcat's startup class (the class that contains Tomcat's # starting point. # #wrapper.startup_class=org.apache.tomcat.startup.Tomcat wrapper.startup_class=org.apache.catalina.startup.BootstrapService # # This is the location where tomcat's server.xml configuration file # is located. # wrapper.server_xml=$(wrapper.catalina_home)\conf\server.xml # # The NT service uses AJP12/AJP13 to shutdown Tomcat. The # wrapper.shutdown_port tells the service the identity of the port that # is used by AJP12/AJP13. # wrapper.shutdown_port=8005 # # Can either be ajp12 or ajp13 depending on your configuration. # # Default value is ajp12 # wrapper.shutdown_protocol=ajp12 # # This is the command line that is used to start Tomcat. You can *add* extra # parameters to it but you can not remove anything. # wrapper.cmd_line=$(wrapper.javabin) -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser -Dcatalina.home ="C:\Tomcat401" -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) start ########################################################## Am I missing something? Thanks, JEB -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>