It's not a secret anymore!
The moose likes Tomcat and the fly likes Tomcat will not start - ClassNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat will not start - ClassNotFoundException" Watch "Tomcat will not start - ClassNotFoundException" New topic

Tomcat will not start - ClassNotFoundException

Allen Benusa

Joined: Apr 03, 2003
Posts: 1
I have a Win2K server set up running IIS, Tomcat, and have J2SDK 1.4.1_02 and J2SDKEE 1.3.1 loaded.
Here is my situation, this server has been running servlets and JSP for a couple of weeks just fine. Two days ago I decided to add another context. So I modified the server.xml for the new context. I forgot to stop Tomcat before doing this. Anyway Tomcat stopped functioning. Nothing I tried seemed to restart it.
So I uninstalled Tomcat, J2SDKEE, and J2SDK in that order. Reinstalled J2SDK, J2SDKEE, and Tomcat in that order. Tomcat will not start.
This happened to me once before, and by uninstalling and reinstalling the software, everything worked again. This time I have uninstalled and reinstalled twice, and no go.
Does anyone know why my Tomcat will not start? Where should I be looking to solve the problem?
Here are my environment variables:
CATALINA_TMPDIR = E:\Tomcat\temp
CLASSPATH = .;E:\j2sdk\jre\ext;E:\j2sdkee\lib\j2ee.jar;E:\Tomcat\common\lib
J2EE_HOME = E:\j2sdkee
JAVA_HOME = E:\j2sdk
Path = E:\j2sdk\bin;E:\j2sdkee\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
Here is the log file:
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
I hit that one time - in the server.xml just comment out the <Listener tag that creates those listeners related to mbeans. It does not seem to be essential!
Paolo Rodeo

Joined: Dec 11, 2010
Posts: 18

You probably copied that from an obsolete Tomcat 6 configuration file (anyway that's what I did).
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63869

Tomcat 6 wasn't around when this was posted back in 2003.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Tomcat will not start - ClassNotFoundException
It's not a secret anymore!