tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike LaBudde" <mike.labu...@hksystems.com>
Subject RE: Cocoon/Tomcat configuration question
Date Wed, 29 Mar 2000 14:58:36 GMT
Is the xml.jar file in your classpath the one from sun? (Also available 
from Apache.) Initially I had an older one from ibm in my classpath and it 
wouldn't work....

hth,

Mike

At 3/29/2000 04:37 PM +0200, Noels Steven wrote:
>Obviously, some people have more luck than me :-(
>
>I can't get Tomcat up & running on my WinNT4WSSP5 box, Sun JDK1.2.2, Apache.
>
>This seems like a FAQ, but Tomcat keeps on bombing on startup, because he
>can't find the Sun XML stuff...
>
>java.lang.ClassNotFoundException: com.sun.xml.parser.Parser
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:124)
>         at org.xml.sax.helpers.ParserFactory.makeParser(ParserFactory.java)
>         at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:191)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:140)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:160)
>FATAL: configuration error
>java.lang.Exception: Error creating sax parser
>         at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:207)
>         at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:140)
>         at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:160)
>
>and yes, xml.jar is in my path :-( Is there some catch involved? As far as I
>can see, I did the right thing...
>
>Anyone who can explain me 'the missing link'?
>
></Steven>
>
>--------------------------------------------------------------------------
>To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message