> From: Eric Hawkes [mailto:
ehawkes@...]
> Subject: RE: Can't start tomcat 5.5.26 service on windows
>
> The Java Classpath field in the Java tab is also empty.
Which is the cause of the current problem. It should be this:
C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\bootstrap.jar
I would recommend installing Tomcat (and the JVM) in directory paths
without spaces; Microsoft made a real blunder when putting spaces in
frequently used directory names, and Apache isn't helping.
> The Logon tab shows the Local System account selected
Make sure the Local System account has access rights to all necessary
files; it normally does, but...
> [2008-03-11 14:32:37] [385 javajni.c] [debug] Jvm Option[1] -Xms256m
> [2008-03-11 14:32:37] [385 javajni.c] [debug] Jvm Option[2] -Xmx512m
Set -Xms and -Xmx to the same value; doing otherwise can make the heap
act like a yoyo.
> [2008-03-11 14:32:37] [385 javajni.c] [debug] Jvm Option[4]
> -Djava.class.path=
There's the bad one.
> Should I be setting my classpath to include Bootstrap.jar,
Yes, but not the CLASSPATH variable.
> or have C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin
> in my PATH?
No, the PATH is irrelevant for services (as is CLASSPATH).
> CLASSPATH=.;C:\Program Files\Java\jre1.5.0_12\lib\ext\QTJava.zip
<soapbox>
The CLASSPATH environment variable is an abomination, and should have
been gotten rid of long ago. It's incredibly annoying that QuickTime
installation keeps trying to use it when there is a well documented
means of providing JRE extensions, and Apple should be using that. I'd
strongly suggest deleting the variable from your environment; it will
mess you up, sooner or later.
</soapbox>
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail:
users@...
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...