Hi everyone,
I've encountered a problem while installing Tomcat and deploying my
company's JSF application, and I'm hoping someone can help point me
toward a solution, as I've not had much luck digging through Google thus
far.
I'm using Tomcat 5.5.9 and Java 1.5.0_02. Until today, we've been
starting and stopping Tomcat manually, using startup.bat and
shutdown.bat, and everything works as expected in both my Windows 2000
SP4 development environment and our Windows 2003 Enterprise Edition SP1
services/test environment. The only modification to server.xml is to
include a Realm element for my database, to log the credentials and
other necessary data for container-managed security.
Today, I used service.bat (included in Tomcat\bin) to install Tomcat as
a service, so that manual startup and shutdown would not be necessary.
I made one change to service.bat - I had to add a jar file to the
PR_CLASSPATH variable so that the installed service would have access to
a class that is normally identified in the CLASSPATH environment
variable. In all other respects, service.bat is the same as was
packaged in the original Tomcat 5.5.9 zip.
When I install Tomcat as a service on my Windows 2000 SP4 machine, the
service starts up and I'm able to load the Tomcat page, load my
application and work as expected. When I install Tomcat as a server on
my Windows 2003 SP1 machine, however, the service terminates
unexpectedly within a few moments.
The Event Viewer shows an event ID of 7034. Running "sc query Tomcat5"
to get more details shows me a WIN32_EXIT_CODE of 1067, which translates
to "The service terminated unexpectedly" in the Windows SDK docs.
Looking in the Tomcat logs, I find the following error message related
to initializing the JVM:
JVMPI not supported with this garbage collector; please
refer to the GC/JVMPI documentation
I'm using whatever garbage collector settings are default for the
1.5.0_02 JVM, so I'm at a loss to explain why it works on one machine
but not the other, unless it's got something to do with an operating
system incompatibility.
Has anyone else seen this problem? If so, is there a solution? Am I
required to upgrade Java or Tomcat?
Thanks in advance for any help and advice you might be able to offer.
__________________________________________________
Roger Alix-Gaudreau | Senior Analyst, RFID Development
Manhattan Associates, Inc.
Phone: +1 678-597-6881
Cell: +1 401-368-9980
mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
http://www.manh.com <http://www.manh.com>
MOMENTUM 2006
Supply Chain Know How. Right Now.
Want to make your supply chain better... and your job easier?
Join us for Momentum 2006, May 21-24, in Orlando, Florida. Visit
www.manh-momentum.com <BLOCKED::http://www.manh-momentum.com/> today
and register early for best rates.