tomcat start service NoClassDefFoundError?
- by mobibob
I am trying to redeploy my server on a new server with a different DNS and IP address. Therefore, I think my problem is in the configuration to find JAR files. Is there a way to get more detail as to which class is being requested so I can narrow down my problem.
Does anyone have any suggested troubleshooting guidance for such problem?
BTW - the configuration was working on the original server, and I tried to find all the locations in the files: conf/, worker.properties, server.xml, catalina.policy, web.xml.
The jarkarta.log repeats the starting... error initializing ... forever. Very boring, therefore, the problem has to be fundamental.
Apparently, the error message is recorded in the log across more than one line and would be this:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError : java/lang/Object
[2012-05-21 18:20:33] [info] Procrun (2.0.4.0) started
[2012-05-21 18:20:33] [info] Running Service...
[2012-05-21 18:20:33] [info] Starting service...
[2012-05-21 18:20:33] [info] Error occurred during initialization of VM
[2012-05-21 18:20:33] [info] java/lang/NoClassDefFoundError
[2012-05-21 18:20:33] [info] : java/lang/Object
[2012-05-21 18:21:59] [info] Procrun (2.0.4.0) started
[2012-05-21 18:21:59] [info] Running Service...
[2012-05-21 18:21:59] [info] Starting service...
[2012-05-21 18:21:59] [info] Error occurred during initialization of VM
[2012-05-21 18:21:59] [info] java/lang/NoClassDefFoundError
[2012-05-21 18:21:59] [info] : java/lang/Object
[2012-05-21 18:35:16] [info] Procrun (2.0.4.0) started
[2012-05-21 18:35:16] [info] Running Service...
[2012-05-21 18:35:16] [info] Starting service...
[2012-05-21 18:35:16] [info] Error occurred during initialization of VM
[2012-05-21 18:35:16] [info] java/lang/NoClassDefFoundError
[2012-05-21 18:35:16] [info] : java/lang/Object
[2012-05-21 18:45:25] [info] Procrun (2.0.4.0) started
[2012-05-21 18:45:25] [info] Running Service...
[2012-05-21 18:45:25] [info] Starting service...
[2012-05-21 18:45:25] [info] Error occurred during initialization of VM
[2012-05-21 18:45:25] [info] java/lang/NoClassDefFoundError
[2012-05-21 18:45:25] [info] : java/lang/Object
[2012-05-21 18:46:29] [info] Procrun (2.0.4.0) started
[2012-05-21 18:46:29] [info] Running Service...
[2012-05-21 18:46:29] [info] Starting service...
[2012-05-21 18:46:29] [info] Error occurred during initialization of VM
[2012-05-21 18:46:29] [info] java/lang/NoClassDefFoundError