• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat will not start - ClassNotFoundException

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 18
jQuery Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You probably copied that from an obsolete Tomcat 6 configuration file (anyway that's what I did).
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tomcat 6 wasn't around when this was posted back in 2003.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic