• 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

Error: Class org/w3c/dom/Node violates loader constraints

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi! I made use of Xalan-Java 1.2.2 from xml.apache.org (I needed to use it to process XPath expression) in my J2EE application running in Allaire JRun and it worked well, but when I migrated the application to WebSphere Application Server 4.0, it returned an error "Class org/w3c/dom/Node violates loader constraints" . How do I solve this? It seems that it is associated with the Xalan-Java 1.2.2 package (jar files) because everytime I remove the XPath part which uses the Xalan-Java package, I don't get the error anymore. It's weird because it runs in JRun but in WAS 4.0, it doesn't. Thanks!
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Krysty, did you ever figure this one out? I've got exactly the same problem in WebSphere 4.x. My app runs in TomCat just fine, but dies in WebSphere the the same error you described.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic