DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13071>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13071 Class Loading does not work properly Summary: Class Loading does not work properly Product: Tomcat 4 Version: 4.1.12 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In my application I am using different version of xercesImpl.jar then the one located in $CATALINA_HOME/common/endorsed (mine is 2.1.0). The version provided with Tomcat has a nasty bug in it: org.apache.xerces.util.DOMErrorHandlerWrapper was being non-serializable was not declared as transient in one of Document Implementation classes thus causing NonSerializableException during serialization of a class implementting Serializable interface (org.apache.xerces.dom.NodeImpl). This bug is fixed in Xerces-2.1.0 and since I have it in my WEB-INF/lib directory, according to http://jakarta.apache.org/tomcat/tomcat- 4.1-doc/class-loader-howto.html, I should expect that this version will be used by my application, rather then the 'endorsed' one. However, the fact I am having the exception indicates that the 'endorsed' version is used. As a workarond I have replaced 'endorsed' versions of xercesImp.jar and xmlParserAPIs.jar with v. 2.1.0 and they worked fine. Still, I guess, classloading order should be fixed. My JDK version is 1.3.1_04 and J2SDKEE version is 1.3.1 Regards, Vadim. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>