Link to home
Create AccountLog in
Avatar of piotrmikula108
piotrmikula108Flag for United States of America

asked on

URGENT - Tomcat Service doesn't start anymore

I have a critical Tomcat application running and it stopped. Whenever I try to start the service it stops.

I found this error in tomcat6-stdout.2013-02-19 log file

2013-02-19 12:57:13 Commons Daemon procrun stdout initialized
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object


common-deamon log shows

[2013-02-19 13:05:42] [info]  Running 'Tomcat6' Service...
[2013-02-19 13:05:42] [info]  Starting service...
[2013-02-19 13:06:19] [info]  Commons Daemon procrun (1.0.10.0 32-bit) started
[2013-02-19 13:06:19] [info]  Running 'Tomcat6' Service...
[2013-02-19 13:06:19] [info]  Starting service...

Catalina log shows

Feb 17, 2013 12:30:54 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-192.168.0.204-80
Feb 17, 2013 12:30:54 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-192.168.0.204-2080
Feb 17, 2013 12:30:55 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Feb 17, 2013 12:30:56 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-192.168.0.204-80
Feb 17, 2013 12:30:56 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-192.168.0.204-2080

tomcat6-stderr shows


2013-02-19 12:19:47 Commons Daemon procrun stderr initialized

2013-02-19 12:33:03 Commons Daemon procrun stderr initialized

2013-02-19 12:57:13 Commons Daemon procrun stderr initialized

2013-02-19 13:05:42 Commons Daemon procrun stderr initialized

2013-02-19 13:06:19 Commons Daemon procrun stderr initialized

I had several Windows Updates installed over the weekend - would that break Tomcat?

I don't think Java was updated

Any ideas what to try?
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Try setting env var JAVA_HOME to a valid install dir
Avatar of piotrmikula108

ASKER

should it point to

C:\Program Files (x86)\Java\jdk1.7.0_10\bin

or

C:\Program Files (x86)\Java\jre7\bin

?
Neither. Try

C:\Program Files (x86)\Java\jdk1.7.0_10
I just ran into this aricle

http://geekycoder.wordpress.com/2009/07/08/java-tips-adventure-in-resolving-the-java-error-error-occurred-during-initialization-of-vm/

when it talks about java.exe being on the System path, I found one in SOW64 folder and moved to the desktop

however when I type java.exe in command prompt I still get this error

c:\>java
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Looks like you need to reinstall Java. Uninstall first
Im sorry, I do have that variable set this way, I was thining about the PATH variable I was reading in the article mentioned above
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
looks like that did it! thank you so much
:)