DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40936>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40936

           Summary: Old SAXParserImpl will fail when old WebApp is deployed
           Product: Tomcat 5
           Version: 5.5.20
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


This is more a hook so this problem can be found then a Bug Report.
Feel free to move this to some "Known Issues" Place.

Problem: You move an WebApp that worked just fine from 
Tomcat 4.x JDK 1.4  to 
Tomcat 5.5 JDK 1.5

When starting the WebApp you get 
java.lang.NoClassDefFoundError: org/apache/crimson/parser/XMLReaderImpl
        at org.apache.crimson.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:103)

This is related to jars in your WEB-INF/lib. When parsing the web.xml file the
classpath already contains the Application jars. So the wrong Version of 
SAXParserImpl is found.

Known jars to create this Problem are:
    xercesImpl.jar 
    googleApi.jar 
    - posibble others who bundle SAXParserImpl -

With JDK 1.5 it should be safe to remove these jars from your
Application (or remove the xml-parser part form the jar)

In general it seems a good Idea to rethink your Applictions 
XML-Approach when moving to JDK 1.5

(See 
http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150.htm)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to