https://issues.apache.org/bugzilla/show_bug.cgi?id=53288

          Priority: P2
            Bug ID: 53288
          Assignee: dev@tomcat.apache.org
           Summary: Tomcat Windows service goes in "Starting" rather than
                    in "Started" state on Windows 2008 (x64 bit) OS.
          Severity: major
    Classification: Unclassified
          Reporter: anand.rashin...@gmail.com
          Hardware: PC
            Status: NEW
           Version: 6.0.35
         Component: Catalina
           Product: Tomcat 6

OS : Windows 2008 R2 (64 bit)
JRE : 1.6.10 (32 bit)
Tomcat 6.0.14 (32 bit)
Also tested with Tomcat version 6.0.35 (32 bit)

Tomcat intermittently doesn't start as a windows service and goes to Starting
state instead.

Following are log excerpts during startup for this issue.


[2012-05-24 09:24:33] [debug] ( javajni.c:206 ) loading jvm 'C:\Program Files
(x86)\Tomcat_Install\IC72\Java\bin\server\jvm.dll'
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[0]
-Dcatalina.base=C:\Program Files (x86)\Tomcat_Install\IC72\tomcat
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[1]
-Dcatalina.home=C:\Program Files (x86)\Tomcat_Install\IC72\tomcat
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[2]
-Djava.endorsed.dirs=C:\Program Files (x86)\Avaya\IC72\tomcat\common\endorsed
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[3]
-Djava.io.tmpdir=C:\Program Files (x86)\Tomcat_Install\IC72\tomcat\temp
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[4]
-Xbootclasspath/a:C:\Program Files
(x86)\Tomcat_Install\IC72\tomcat\common\lib\mail.jar
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[5]
-Dlog4j.configuration=log4j.xml
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[6]
-Dlog4j.debug=true
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[7] -Dhome=C:\Program
Files (x86)\Tomcat_Install\IC72
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[8]
-Djava.security.auth.login.config=C:\Program Files
(x86)\Avaya\IC72\sdk\cup.security
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[9]
-Djava.class.path=C:\Program Files
(x86)\Tomcat_Install\IC72\tomcat\bin\bootstrap.jar;.
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[10] -Xms256m
[2012-05-24 09:24:33] [debug] ( javajni.c:660 ) Jvm Option[11] -Xmx768m
[2012-05-24 09:24:34] [debug] ( javajni.c:844 ) argv[0] = -config
[2012-05-24 09:24:34] [debug] ( javajni.c:844 ) argv[1] = C:\Program Files
(x86)\Tomcat_Install\IC72\tomcat\conf\server.sdk.xml
[2012-05-24 09:24:34] [debug] ( javajni.c:844 ) argv[2] = start

As one can see from above logs , tomcat accepts the application specific
arguments and is about to start Java (Worker thread) , but somehow it gets
stuck at this point after parsing the variable arguments to Tomcat process ,
and hence the tomcat windows service goes in Starting state.

But it sometimes runs cleanly and goes ahead and starts the worker thread.

Are there any specific settings needed for Tomcat 32 bit/JRE 32 bit and Win 2k8
64 combination ? 

I face this issue 6 out of 10 times. 

Installed tomcat as a service using the service.bat tomcat utility.

I face no issues on WIndows 2003 32 bit OS with same tomcat 6.0.14 (32 bit) and
JRE 1.6.10 (32 bit) 

After a clean startup , following trailing tomcat logs are produced (DEBUG
MODE).

[2012-05-24 09:32:41] [debug] ( javajni.c:844 ) argv[0] = -config
[2012-05-24 09:32:41] [debug] ( javajni.c:844 ) argv[1] = C:\Program Files
(x86)\Tomcat_Install\IC72\tomcat\conf\server.icsdk.xml
[2012-05-24 09:32:41] [debug] ( javajni.c:844 ) argv[2] = start
[2012-05-24 09:32:41] [debug] ( javajni.c:896 ) Java Worker thread started
org/apache/catalina/startup/Bootstrap:main
[2012-05-24 09:32:42] [debug] ( prunsrv.c:1067) Java started
org/apache/catalina/startup/Bootstrap
[2012-05-24 09:32:43] [info]  (          :0   ) Service started in 3744 ms.
[2012-05-24 09:32:43] [debug] ( prunsrv.c:1394) Waiting for worker to finish...

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to