• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Tomcat install on the windows NT

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!