Hi,

I am getting wierd results running Tomcat 4.1  XML.  I want different 
applications to have separate XML files, so have attempted to follow the 
instructions

'If you wish to *not* make any XML parser visible to all web applications,
this can be accomplished by copying the "xerces.jar" file from "common/lib"
to both "server/lib" and "jasper", and removing it from "common/lib".'

from the release notes - except there is no 'jasper' directory?  What 
does this mean?


I have removed xerces from common/lib and placed in it server/lib. 
 There are no other copies of crimson/ xerces / xalan etc in the tomcat 
directories.


When I install my application (with WEB-INF/lib/ xerces.jar xalan.jar 
jdom.jar etc) I get errors like the following.

root cause

java.lang.NoClassDefFoundError: org/xml/sax/SAXException
    at 
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:164)
    at 
org.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
    at 
org.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)
    at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
    at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
    at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)

However, by moving all the jar files into the tomcat/lib directory it 
all works o.k.  Wierd.  Any ideas?

Hugh



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to