This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!