tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject "The Apache Tomcat service terminated with service-specific error 0 (0x0)." on Windows again... argh!
Date Sat, 06 Jun 2009 20:22:03 GMT
Okay -- wWe CAN start Tomcat via the command line, no problem.

But when trying to start it as a SERVICE, no luck -- we look in the
event logs and find
"The Apache Tomcat service terminated with service-specific error 0
(0x0)." again

In JAVA_OPTS we've got "-server -XX:+UseParallelGC -Xmx1200m
-XX:PermSize=120m -XX:MaxPermSize=240m -Djava.awt.headless=true" which
is what DOES work from the command line.

In the java tab via tomcat5w, where we can NOT start the service:

When we try to start the service we see "Invalid maximum heap size:
-Xmx1200m " in the stderr*.log output.
And the jakarta_service*.log contains
[2009-06-06 13:08:37] [395  javajni.c] [error] CreateJavaVM Failed
[2009-06-06 13:08:37] [1000 prunsrv.c] [error] Failed initializing
java C:\tomcat55\bin\bootstrap.jar
[2009-06-06 13:08:37] [1269 prunsrv.c] [error] ServiceStart returned 2

Pointers welcome :(

System is (different from previous thread):
- windows server 2003 std edition sp2
- intel xeon cpu 3070 @ 2.66ghz
- 4gb ram (physical address extension)

Java is
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02)
Java HotSpot(TM) Client VM (build 1.5.0_19-b02, mixed mode, sharing)

Tomcat is
Server version: Apache Tomcat/5.5.27
Server built:   Aug 28 2008 10:08:26
Server number:
OS Name:        Windows 2003
OS Version:     5.2
Architecture:   x86
JVM Version:    1.5.0_19-b02
JVM Vendor:     Sun Microsystems Inc.

will trillich
"Tis the set of the sails / And not the gales / That tells the way we
go." -- Ella Wheeler Wilcox

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

View raw message