Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat will not start - ClassNotFoundException

 
Allen Benusa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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_BASE = E:\Tomcat
CATALINA_HOME = E:\Tomcat
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
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
Bill
 
Paolo Rodeo
Greenhorn
Posts: 18
Java jQuery Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You probably copied that from an obsolete Tomcat 6 configuration file (anyway that's what I did).
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64982
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat 6 wasn't around when this was posted back in 2003.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic