tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Cordes <mcord...@maine.edu>
Subject Install Difficulty-Tomcat 3.1 on Linux
Date Thu, 01 Jun 2000 22:09:54 GMT
 Hello all.
 
 I'm having a bit of trouble getting tomcat 3.1 to do much of anything.  
 I have correctly set my TOMCAT_HOME and JAVA_HOME ( in my /etc/profile )
 and when I launch tomcat via the startup.sh script I receive the
 following:  
 
 *****************************************
 [root bin]# ./startup.sh 
 Using classpath:
 .:/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper
 r:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/test:/usr/local/tom
 /lib/webserver.jar:/usr/local/tomcat/lib/xml.jar:/usr/local/java/IBM-jdk-1.3.
 ib/tools.jar
 [root bin]# java.lang.ClassNotFoundException: com.sun.xml.parser.Parser
         at java.lang.Throwable.<init>(Throwable.java:96)
         at java.lang.Exception.<init>(Exception.java:44)
         at
 java.lang.ClassNotFoundException.<init>(ClassNotFoundException.jav
 1)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:204)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:257)
         at java.lang.Class.forName1(Native Method)
         at java.lang.Class.forName(Class.java:134)
         at
 org.xml.sax.helpers.ParserFactory.makeParser(ParserFactory.java:12
         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 java.lang.Throwable.<init>(Throwable.java:96)
         at java.lang.Exception.<init>(Exception.java:44)
         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)
 **************************************
 
 Any suggestions?
 
 Also when I try to compile tomcat 3.1 I always receive the message:
 
 	Project base dir set to: /home/mcordes/jakarta-tomcat
 	Executing Target: init
 	Executing Target: prepare
 	BUILD FATAL ERROR: srcdir does not exist!
 
 I'm using Ibm's 1.3 jdk ( but I've also tried blackdowns 1.2.2 ) on a
 debian (2.2, potato ) linux machine.  I plan to incorporate tomcat with
 my already existing apache 1.3.12, but am I right in assuming that I 
 need this to work first?
 
 Thanks for your time...
 
 -Matthew Cordes

Mime
View raw message