| From | Sent On | Attachments |
|---|---|---|
| Lenny Karpel | Aug 6, 2002 4:11 pm | |
| Brian P. Millett | Aug 7, 2002 6:41 am | |
| Lenny Karpel | Aug 7, 2002 9:17 am | |
| Brian P. Millett | Aug 7, 2002 9:48 am | |
| Lenny Karpel | Aug 7, 2002 11:06 am | |
| Ian Darwin | Aug 7, 2002 12:03 pm | |
| cost...@covalent.net | Aug 7, 2002 1:35 pm | |
| Mike Anderson | Aug 7, 2002 1:49 pm | |
| Amy Roh | Aug 7, 2002 1:57 pm | |
| Bob Herrmann | Aug 7, 2002 1:59 pm | |
| Patrick Luby | Aug 7, 2002 3:34 pm | |
| Craig R. McClanahan | Aug 7, 2002 4:01 pm | |
| Bill Barker | Aug 7, 2002 5:10 pm | |
| Remy Maucherat | Aug 8, 2002 4:06 am | |
| Larry Isaacs | Aug 8, 2002 5:28 am | |
| Remy Maucherat | Aug 8, 2002 7:30 am | |
| Ian Darwin | Aug 8, 2002 7:41 am | |
| Andrew Milkowski | Aug 8, 2002 7:46 am | .properties |
| Jean-francois Arcand | Aug 8, 2002 8:00 am | |
| Andrew Milkowski | Aug 8, 2002 8:48 am | |
| cost...@covalent.net | Aug 8, 2002 9:34 am | |
| Remy Maucherat | Aug 8, 2002 2:18 pm |
| Subject: | Re: Tomcat 3.2 run as NT service with xml parser other than its default (parser.jar) | |
|---|---|---|
| From: | Jean-francois Arcand (jean...@sun.com) | |
| Date: | Aug 8, 2002 8:00:43 am | |
| List: | org.apache.tomcat.dev | |
Andrew Milkowski wrote:
receiving following exception while running Tomcat as NT service
javax.xml.parsers.FactoryConfigurationError: com.sun.xml.parser.SAXParserFactoryImpl at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:84) at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:210) at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187) at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235) Exception in thread "main"
following wrapper.properties classpath values were used (note I commented default xml parser, and replaced with (xalan & xercesImpl) parser.jar line)
wrapper.class_path=$(wrapper.tomcat_home)\classes wrapper.class_path=$(wrapper.tomcat_home)\lib\xalan.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\xercesImpl.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar #wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\logfilewriter.jar
Not sure it the proper way to replace the parser. You should put your jar under CATALINA_HOME/common/endorsed or under j2sdkXX/jre/lib/ext (I recommend the first one). This is the suggested way when you want to use another parser than the defaut one.
If you use jdk 1.4, see
http://java.sun.com/j2se/1.4/docs/guide/standards/
-- Jeanfrancois
interestingly when running from command line the alternate xml parser xerces was picked up and Tomcat started flawlessly..
Any one knows if this
a/ my ignorance, and there is a solution
b/ a real defect
regards
------------------------------------------------------------------------
-- Jean-Francois Arcand Java and XML Software, Sun Microsystems 450.224.4753






.properties