• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

Tomcat install on the windows NT

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Your mother is a hamster and your father smells of tiny ads!
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic