my dog learned polymorphism*
The moose likes Servlets and the fly likes Tomcat install on the windows NT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat install on the windows NT" Watch "Tomcat install on the windows NT" New topic
Author

Tomcat install on the windows NT

stacey zhou
Greenhorn

Joined: Apr 30, 2001
Posts: 2
when I intall Tomcat 3.1 on windows NT, I set
JAVA_HOME = Y:\jdk1.3;
set TOMCAT_HOM= Y:\Tomcat
set path = Y:\jdk1.3\bin
at the same time I install xalan.jar, xerces.jar in Y:\jdk1.3\jre\lib\ext\ directory for xml parser.
but when I start the tomcat
Using classpath: y:\czhou\Tomcat\classes;y:\czhou\Tomcat\lib\webserver.jar;y:\cz
hou\Tomcat\lib\jasper.jar;y:\czhou\Tomcat\lib\xml.jar;y:\czhou\Tomcat\lib\servle
t.jar;Y:\czhou\jdk1.3\lib\tools.jar;y:\czhou\Tomcat\lib\ant.jar
java.lang.ClassNotFoundException: com.sun.xml.parser.Parser
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.xml.sax.helpers.ParserFactory.makeParser(ParserFactory.java:120)
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)

Help will be appreciated.
Thanks.
Stacey
Maky Chopra
Ranch Hand

Joined: Apr 11, 2001
Posts: 149
Dont think this is something wrong with tomcat.. You are setting env. variables to Y:\jdk1.3 and your classpaths to Y:\czhou\jdk1.3\..
Set your classpath's right first and try. Post back any error your get !
Originally posted by stacey zhou:
when I intall Tomcat 3.1 on windows NT, I set
JAVA_HOME = Y:\jdk1.3;
set TOMCAT_HOM= Y:\Tomcat
set path = Y:\jdk1.3\bin
at the same time I install xalan.jar, xerces.jar in Y:\jdk1.3\jre\lib\ext\ directory for xml parser.
but when I start the tomcat
Using classpath: y:\czhou\Tomcat\classes;y:\czhou\Tomcat\lib\webserver.jar;y:\cz
hou\Tomcat\lib\jasper.jar;y:\czhou\Tomcat\lib\xml.jar

stacey zhou
Greenhorn

Joined: Apr 30, 2001
Posts: 2
Thanks.
I am sorry I make a mistake,
actually I did set JAVA_HOME=Y:\czhou\jdk1.3;
set TOMCAT_HOM=Y:\czhou\Tomcat.
set path = Y:\czhou\jdk1.3\bin;
set classpath = Y:\czhou\jdk1.3\jre\lib\ext\xalan.jar;Y:\czhou\jdk1.3\jre\lib\ext\xerces.jar
Help will be greatly appreicated.

Originally posted by stacey zhou:
when I intall Tomcat 3.1 on windows NT, I set
JAVA_HOME = Y:\jdk1.3;
set TOMCAT_HOM= Y:\Tomcat
set path = Y:\jdk1.3\bin
at the same time I install xalan.jar, xerces.jar in Y:\jdk1.3\jre\lib\ext\ directory for xml parser.
but when I start the tomcat
Using classpath: y:\czhou\Tomcat\classes;y:\czhou\Tomcat\lib\webserver.jar;y:\cz
hou\Tomcat\lib\jasper.jar;y:\czhou\Tomcat\lib\xml.jar;y:\czhou\Tomcat\lib\servle
t.jar;Y:\czhou\jdk1.3\lib\tools.jar;y:\czhou\Tomcat\lib\ant.jar
java.lang.ClassNotFoundException: com.sun.xml.parser.Parser
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.xml.sax.helpers.ParserFactory.makeParser(ParserFactory.java:120)
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)

Help will be appreciated.
Thanks.
Stacey

 
Consider Paul's rocket mass heater.
 
subject: Tomcat install on the windows NT
 
Similar Threads
tomcat not running??
Tomcat Installation Problem
any clue about 'web.xml' ?
JSWDK and Tomcat
Problems with axis and tomcat4.0