Menu

#223 Compatibility

v3.0.3
open
5
2008-05-07
2008-04-29
Anonymous
No

We are trying to install Tomcat 5.5.26 on a Windows 2003 64 bit box.

This new version of Tomcat is constructed differently than version 4.1.18 which is used in the configuration example.

We don't have a Catalina.bat file to modify with the 5.5.26 version.

Will Java Service Wrapper work with the newer version of Tomcat and are there a set of instructions on how to proceed to use the product to install Tomcat at a windows service?

Discussion

  • Leif Mortenson

    Leif Mortenson - 2008-05-07
    • assigned_to: nobody --> mortenson
     
  • Leif Mortenson

    Leif Mortenson - 2008-05-07

    Logged In: YES
    user_id=228081
    Originator: NO

    I just downloaded the 5.5.26 version and it appears that all of the batch files still exist in the bin directory. I am on a linux box at the moment but was able to generate the following command line following the directions on the site:

    /usr/java/jdk1.5.0_13/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/apache-tomcat-5.5.26/conf/logging.properties -Djava.endorsed.dirs=/opt/apache-tomcat-5.5.26/common/endorsed -classpath :/opt/apache-tomcat-5.5.26/bin/bootstrap.jar:/opt/apache-tomcat-5.5.26/bin/commons-logging-api.jar -Dcatalina.base=/opt/apache-tomcat-5.5.26 -Dcatalina.home=/opt/apache-tomcat-5.5.26 -Djava.io.tmpdir=/opt/apache-tomcat-5.5.26/temp org.apache.catalina.startup.Bootstrap start

    For the Windows version, the command line is found in bin/catalina.bat towards the end of the file.
    Simply add "echo " to the beginning of each of the lines starting with "%_EXECJAVA%.
    Save and then run bin/startup.bat The Java command line should show up in the console.

    Cheers,
    Leif

     

Log in to post a comment.