piotrmikula108
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/NoClassDefFoundE rror: 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.H ttp11Proto col 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.H ttp11Proto col 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.S tandardSer vice stop
INFO: Stopping service Catalina
Feb 17, 2013 12:30:56 AM org.apache.coyote.http11.H ttp11Proto col 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.H ttp11Proto col 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?
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/NoClassDefFoundE
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.H
INFO: Pausing Coyote HTTP/1.1 on http-192.168.0.204-80
Feb 17, 2013 12:30:54 AM org.apache.coyote.http11.H
INFO: Pausing Coyote HTTP/1.1 on http-192.168.0.204-2080
Feb 17, 2013 12:30:55 AM org.apache.catalina.core.S
INFO: Stopping service Catalina
Feb 17, 2013 12:30:56 AM org.apache.coyote.http11.H
INFO: Stopping Coyote HTTP/1.1 on http-192.168.0.204-80
Feb 17, 2013 12:30:56 AM org.apache.coyote.http11.H
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?
Try setting env var JAVA_HOME to a valid install dir
ASKER
should it point to
C:\Program Files (x86)\Java\jdk1.7.0_10\bin
or
C:\Program Files (x86)\Java\jre7\bin
?
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
C:\Program Files (x86)\Java\jdk1.7.0_10
ASKER
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/NoClassDefFoundE rror: java/lang/Object
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/NoClassDefFoundE
Looks like you need to reinstall Java. Uninstall first
ASKER
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
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
looks like that did it! thank you so much
:)