Quantcast

"The Apache Tomcat service terminated with service-specific error 0 (0x0)." on Windows again... argh!

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

"The Apache Tomcat service terminated with service-specific error 0 (0x0)." on Windows again... argh!

trillich
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:
-Dcatalina.base=C:\tomcat55
-Dcatalina.home=C:\tomcat55
-Djava.endorsed.dirs=C:\tomcat55\common\endorsed
-Djava.io.tmpdir=C:\tomcat55\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\tomcat55\conf\logging.properties
-Xmx1200m
-Xms1200m
-XX:PermSize=120m
-XX:MaxPermSize=240m
-server
-Djava.awt.headless=true

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:  5.5.27.0
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: "The Apache Tomcat service terminated with service-specific error 0 (0x0)." on Windows again... argh!

Caldarale, Charles R
> From: [hidden email] [mailto:[hidden email]] On Behalf Of
> [hidden email]
> Subject: "The Apache Tomcat service terminated with service-specific
> error 0 (0x0)." on Windows again... argh!
>
> In the java tab via tomcat5w, where we can NOT start the service:
> -Xmx1200m
> -Xms1200m

When using the service, don't set the heap sizes via the -X options; use the "Initial memory pool" and "Maximum memory pool" cells instead.

 - 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 unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...