tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: Tomcat 3.2.3 and struts 1.1
Date Wed, 14 Nov 2001 13:57:21 GMT
I'm not sure why you are getting duplicate entries in your
CLASSPATH, but it looks like it is only using the parser.jar
from the Tomcat 3.2.3 distribution.  This parser.jar is from
JAXP 1.0.1, which doesn't have a org.xml.sax.helpers.DefaultHandler.
I would guess that your linux system has a newer one.
You can replace the jaxp.jar and parser.jar on your NT system with
a newer XML parser and Tomcat should still run without problems.

Cheers,
Larry

> -----Original Message-----
> From: Marko Sarunac [mailto:marko@sarunac.com]
> Sent: Tuesday, November 13, 2001 5:07 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 3.2.3 and struts 1.1
> 
> 
> I got tomcat 3.2.3 running with struts 1.1 on linux without problems.
> 
> However, on NT, which sadly i have to use as my dev box....it doesn't 
> start and it gives me the following...
> 
> Any help is greatelly appreciated!!!
> 
> --------------------------------------------------------------------
> 
> 
> D:\jakarta-tomcat-3.2.3\bin>tomcat run
> Including all jars in D:\jakarta-tomcat-3.2.3\lib in your CLASSPATH.
> 
> Using CLASSPATH: 
> D:\jakarta-tomcat-3.2.3\classes;D:\jakarta-tomcat-3.2.3
> \lib\ant
> .jar;D:\jakarta-tomcat-3.2.3\lib\jasper.jar;D:\jakarta-tomcat-3.2.3
> \lib\jaxp.jar
> ;D:\jakarta-tomcat-3.2.3\lib\parser.jar;D:\jakarta-tomcat-3.2.3
> \lib\servlet.jar;
> D:\jakarta-tomcat-3.2.3\lib\webserver.jar;D:\jakarta-tomcat-3.2.3
> \classes;D:\jak
> arta-tomcat-3.2.3\lib\ant.jar;D:\jakarta-tomcat-3.2.3
> \lib\jasper.jar;D:\jakarta-
> tomcat-3.2.3\lib\jaxp.jar;D:\jakarta-tomcat-3.2.3
> \lib\parser.jar;D:\jakarta-tomc
> at-3.2.3\lib\servlet.jar;D:\jakarta-tomcat-3.2.3
> \lib\webserver.jar;C:\jdk1.3.1_0
> 1\lib\tools.jar;C:\jdk1.3.1_01\lib\tools.jar
> 
> 2001-11-13 13:59:43 - ContextManager: Adding context Ctx( /examples )
> 2001-11-13 13:59:43 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-11-13 13:59:53 - ContextManager: Adding context Ctx( /mysite )
> 2001-11-13 13:59:53 - ContextManager: Adding context Ctx(  )
> 2001-11-13 13:59:53 - ContextManager: Adding context Ctx( /test )
> java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
>         at 
> org.apache.tomcat.loader.AdaptiveClassLoader12.doDefineClass
> (Adaptive
> ClassLoader12.java:93)
>         at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass
> (AdaptiveClassL
> oader.java:509)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
>         at 
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
>         at org.apache.struts.action.ActionServlet.initDigester
> (ActionServlet.jav
> a:1111)
>         at org.apache.struts.action.ActionServlet.initMapping
> (ActionServlet.java
> :1267)
>         at org.apache.struts.action.ActionServlet.init
> (ActionServlet.java:461)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>         at org.apache.tomcat.core.ServletWrapper.doInit
> (ServletWrapper.java:317)
> 
>         at org.apache.tomcat.core.Handler.init(Handler.java:215)
>         at org.apache.tomcat.core.ServletWrapper.init
> (ServletWrapper.java:296)
>         at 
> org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOn
> StartupInterceptor.java:130)
>         at org.apache.tomcat.core.ContextManager.initContext
> (ContextManager.java
> :491)
>         at org.apache.tomcat.core.ContextManager.init
> (ContextManager.java:453)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/commons/di
> gester/Digester
>         at org.apache.struts.action.ActionServlet.initDigester
> (ActionServlet.jav
> a:1111)
>         at org.apache.struts.action.ActionServlet.initMapping
> (ActionServlet.java
> :1267)
>         at org.apache.struts.action.ActionServlet.init
> (ActionServlet.java:461)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>         at org.apache.tomcat.core.ServletWrapper.doInit
> (ServletWrapper.java:317)
> 
>         at org.apache.tomcat.core.Handler.init(Handler.java:215)
>         at org.apache.tomcat.core.ServletWrapper.init
> (ServletWrapper.java:296)
>         at 
> org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOn
> StartupInterceptor.java:130)
>         at org.apache.tomcat.core.ContextManager.initContext
> (ContextManager.java
> :491)
>         at org.apache.tomcat.core.ContextManager.init
> (ContextManager.java:453)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> D:\jakarta-tomcat-3.2.3\bin>
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message