tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Byron" <bby...@radit.com>
Subject Tomcat 4.0 and XML Parsing
Date Tue, 02 Oct 2001 22:43:47 GMT
I am having trouble figuring out exactly how to deploy my war file.  I have
deployed
war files before without any problems, but this is the first time I have
include XML
parsing code to parse a configuration file.  I was successfully able to run
and parse
the configuration file as a stand alone applicaiton under JBuilder 5.0, but
when I
migrated my application to run as a servlet and deployed it under Tomcat
4.0, I just
could not get it to work properly.  Does anyone have any examples on how to
get
parse XML under Tomcat?  As a standalone application, I was compiling
against JAXP.
Under Tomcat 4.0, I created my library using the Tomcat 4.0 common directory
jar files
including crimson.  Any ideas?

Thank You,
Bob Byron

I am receiving the following error:
org.xml.sax.SAXException: System property org.xml.sax.driver not specified
        at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:9
0)
        at webmail.SendWebMail.getConfiguration(SendWebMail.java:65)
        at webmail.SendWebMail.doPost(SendWebMail.java:41)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.connector.http.HttpProcessor.process(Unknown
Source)
        at org.apache.catalina.connector.http.HttpProcessor.run(Unknown
Source)
        at java.lang.Thread.run(Thread.java:484)


Mime
View raw message