Try including the xmlapis.jar as well at the same level. Your classloader
settings are correct, I think that's the one thing
you may be missing.

Jin

Jin Chun


Vice President: Global Link Chief Applications Architect


Global Link :> www.globallink.com
State Street Bank :> www.statestreet.com


617.664.1695 | [EMAIL PROTECTED]


SCJA SCJP OCP-DBA


Confidentiality Notice: The information contained in the email is intended
for the confidential use of the above-named recipient(s). If the reader of
this message is not the intended recipient or person responsible for
delivering it to the intended recipient, you are hereby notified that you
have received this communication in error, and that any review,
dissemination, distribution, or copying of this communication is strictly
prohibited. If you have received this in error, please notify the sender
immediately and destroy this message.


                                                                           
             babloosony                                                    
             <[EMAIL PROTECTED]                                             
             .com>                                                      To 
                                       "axis-user@ws.apache.org"           
             03/16/2005 09:27          <axis-user@ws.apache.org>,          
             AM                        axis-dev@ws.apache.org              
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
             [EMAIL PROTECTED]         WebSphere Classloader Constraints   
                   e.org               with XERCES                         
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi All,

I am using Windows 2000, WSAD 5.1.2, WebSphere 5.1 Application Server
Test Environment, IBM JDK 1.4. I have an EAR that has xerces.jar and
below settings on WebSphere Environment :

a.ear Classloader mode: PARENT_LAST
b.ear WAR classloader policy: APPLICATION
c.war Classloader mode : PARENT_LAST


When I run my web application that has 'java - jar dependency' set to
ultity jar xerces.jar at the ear level I am  getting below error:

java.lang.LinkageError: Class org/w3c/dom/Node violates loader
constraints:  definition mismatch between parent and child loaders


I think that I dont any WebSphere 5.1 runtime's own version of xerces
and thus getting loaded  by WebSphere Extension Classloader. Can
anyone please suggest what is that I am missing here ... ?


Thanks & Regards,
Kumar.


Reply via email to