You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/11/09 14:37:13 UTC
DO NOT REPLY [Bug 40936] New: - Old SAXParserImpl will fail when old WebApp is deployed
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: klaus.halfmann@top-logic.com
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 40936] - Old SAXParserImpl will fail when old WebApp is deployed
Posted by bu...@apache.org.
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
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From markt@apache.org 2006-11-09 15:24 -------
No bug to fix here.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org