tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From matthew denner <matthew_den...@wamnet.co.uk>
Subject tomcat 3.1 doesn't work on redhat linux?
Date Wed, 19 Apr 2000 20:12:56 GMT
Dear all,

must admit before i go any further that i'm a first-time user of the
tomcat release so this is all probably my fault, but just in case:

i have unzipped the tomcat package on redhat linux 6.1 with jdk1.2.2 
from sun.  i then set my TOMCAT_HOME to the correct path and run
$TOMCAT_HOME/bin/startup.sh and get the following output:

Using classpath:
.:/home/mdenner/temp/jakarta-tomcat/lib/ant.jar:/home/mdenner/temp/jakarta-tomcat/lib/jasper.jar:/home/mdenner/temp/jakarta-tomcat/lib/servlet.jar:/home/mdenner/temp/jakarta-tomcat/lib/test:/home/mdenner/temp/jakarta-tomcat/lib/webserver.jar:/home/mdenner/temp/jakarta-tomcat/lib/xml.jar:/usr/local/java/bin/../lib/tools.jar::/usr/local/java/jre/lib/servlet.jar
[mdenner@kenny bin]$ java.lang.ClassNotFoundException:
com.sun.xml.parser.Parser
        at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled
Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java,
Compiled Code)
        at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled
Code)
        at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled
Code)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java, Compiled Code)
        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:143)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
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:143)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)

if i check that all the files are present then xml.jar is in the
$TOMCAT_HOME/lib folder and it does contain the 
com.sun.xml.parser.Parser class so i'm a little confused.

any suggestions?

=======================================================================
Matt Denner                       Senior Software Engineer @ WAM!NET UK
                                                        +44 1202 208571
-----------------------------------------------------------------------

Mime
View raw message