• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WebSphere Classloader Constraints with XERCES

 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic