dcsimg
Problems/Except running TomCat 4.0
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hemal_Mehta
Posted On:   Tuesday, June 25, 2002 03:59 PM

I am getting the following exception while running Tomcat: Could somebody help: MY env variables are as: CATALINA_HOME:C:Program FilesApache Tomcat 4.0 CLASSPATH: .;C:jdk1.2.2lib;C:Program FilesApache Tomcat 4.0commonlibservlet.jar;C:Program FilesApache Tomcat 4.0commonlib ools.jar BASEDIR:C:Program FilesApache Tomcat 4.0 Exception is: Using CATALINA_BASE: C:Program FilesApache Tomcat 4.0 Using CATALINA_HOME: C:Program FilesApache Tomcat 4.0 Using CATALINA_TMPDIR: C:Program FilesApache Tomcat 4.0 emp Using JAVA_HOME: C:jdk1.2.2 Exception during startup processing java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org /xml/sax/Handler   More>>

I am getting the following exception while running Tomcat: Could somebody help: MY env variables are as:
CATALINA_HOME:C:Program FilesApache Tomcat 4.0
CLASSPATH: .;C:jdk1.2.2lib;C:Program FilesApache Tomcat 4.0commonlibservlet.jar;C:Program FilesApache Tomcat 4.0commonlib ools.jar
BASEDIR:C:Program FilesApache Tomcat 4.0

Exception is:

Using CATALINA_BASE: C:Program FilesApache Tomcat 4.0
Using CATALINA_HOME: C:Program FilesApache Tomcat 4.0
Using CATALINA_TMPDIR: C:Program FilesApache Tomcat 4.0 emp
Using JAVA_HOME: C:jdk1.2.2
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org
/xml/sax/HandlerBase
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$1(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClas
sLoader.java, Compiled Code)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:1093)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClas
sLoader.java:992)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.apache.catalina.startup.Catalina.start(Catalina.java:722)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled C
ode)

   <<Less

Re: Problems/Except running TomCat 4.0

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, June 26, 2002 06:56 AM

java.lang.NoClassDefFoundError: org /xml/sax/HandlerBase



How did you install Tomcat? You are apparently missing at least one Jar file (xerces.jar) that should have come along with Tomcat.



Or maybe, did you install the "LE-jdk1.4" version of Tomcat 4.0.4, which is intended for Java SDK 1.4, on 1.3 by mistake? (because some things, like the XML SAX parser, now come in the standard Java SDK, starting with 1.4, so Tomcat no longer has to bring them along itself)



If so, either go back and install the full version instead, or else follow the instructions, because you'll have to add the missing jar files yourself.

About | Sitemap | Contact