tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Installation problems on Windows
Date Tue, 01 Mar 2005 19:32:31 GMT


Thanks for the detail on the installation. I mentioned in a separate
response within this thread that once JAVA_HOME was corrected (referencing
the parent of the 1.5 JDK and not the public or private JRE) then the
startup.bat method worked fine in the default installation directory the
binary installer started (C:\Program Files\Apache Software
Foundation\Tomcat 5.5...).

So it appears Tomcat will start up with the correct JAVA_HOME (JDK, not
JRE.) However, I still cannot run the Installer successfully, nor will the
service.bat install tomcat as a service. Some lingering Windows execution
and/or security issues is probably the best guess at this point. I know SP2
for Windows XP made extensive changes, along with the stream of security
patches since then.

If anyone uncovers such a security issue or the fix, please post, and I'll
do the same if I discover it.

I'd like to get the service portion ironed out, but in the meantime I can
at least get Tomcat started for some development and evaluation.


-----Jason Bainbridge <> wrote: -----

To: Tomcat Users List <>
From: Jason Bainbridge <>
Date: 2005-03-01 02:10PM
Subject: Re: Installation problems on Windows

On Tue, 1 Mar 2005 10:16:14 -0800,
> Yes, those are the path(s) I've used... including \bin in the path, and
> using the immediate parent directory of the \bin for JAVA_HOME. The
> following JREs and JDKs have been tried. Also, I've tried pointing the
> and JAVA_HOME at the JRE, and the JDK for each version.

Okay lets go back to basics.

1. Install JDK 1.5

2. set JAVA_HOME to the base directoty of the above install something
like C:\JDK1.5.0_01

3. You do not need CLASSPATH set nor does java need to be in the PATH,
JAVA_HOME is the only variable that is expressly needed, in a default
setup the setting of CATALINA_HOME can safely be done by Tomcat as it
starts based on the current directory. In fact having these set
especially the CLASSPATH  could cause problems.

4.  Download and from

5. Extract to C:\

6. Open a new command prompt (must be a new one to ensure the latest
environment variables are used.

7. navigate to C:\jakarta-tomcat-5.5.7\bin then run startup.bat

8. what happens?


Jason Bainbridge
Personal Site -

 To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message