• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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.
 
I wasn't selected to go to mars. This tiny ad got in ahead of me:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic