tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Haischt" <sirab...@gmx.net>
Subject Re: Install Difficulty-Tomcat 3.1 on Linux
Date Fri, 02 Jun 2000 05:13:53 GMT
hello,

it seems that you missed sun's xml parser *.jar files
(jaxp.jar and parser.jar).

sun's Java API for XML Parsing implementation is available
through http://java.sun.com/xml.

regards

daniel haischt
--

----- Original Message -----
From: "Matthew Cordes" <mcorde61@maine.edu>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, June 02, 2000 12:09 AM
Subject: Install Difficulty-Tomcat 3.1 on Linux


> 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/to
m
>
/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
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>


Mime
View raw message