English

Problem: Tomcat service fails to start

Description

Tomcat service fails to start automatically upon system login after logout.

Cause

This is a known issue with JDK 1.3.

Solution or Workaround

1. Copy Tomcatservice.exe to the \bin directory of the Tomcat installation.

See Related Information below to download Tomcatservice.exe.

2. If they don't already exist, create a JAVA_HOME that points to the root directory of the JDK installation and a TOMCAT_HOME that points to the root directory of the Tomcat installation.

3. Run Tomcat321service.bat.

NOTE: This particular file works for Tomcat 3.2.1 and you may have to modify it for another version of Tomcat.

In the <drive>:\jakarta-tomcat-3.2.4\lib folder, there are six .jar files. There are also six .jar files in the lib folder of the 3.2.3 version, but one of them is named differently. Version 3.2.4 uses 'crimson.jar' rather than 'parser.jar'. Tomcat321Service.bat specifies 'parser.jar' in the classpath entries. The following steps correct the problem:

a) Open the Tomcat321Service.bat in Notepad, replace 'parser.jar', with 'crimson.jar', and save the file as Tomcat324Service.bat.

b) If you already have a Jakarta service listed, remove it using the command prompt:

<drive>:\jakarta-tomcat-3.2.4\bin>TomcatService -uninstall Jakarta.

c) Assuming all elements are correct, execute Tomcat324Service.bat.

d) Start the Jakarta service.



See Related Information below to download Tomcat321service.bat.

Related Information