Unable to isolate jaxb-impl.jar in Spring Framework ear deployment in JBoss EAP

Solution Verified - Updated -

Issue

  • I have an application that has its own version of jaxb-impl in the WEB-INF/lib directory of the war file. The war is contained within an ear file for deployment. No matter what I've tried, it seems that JBoss is always using it's own version of jaxb-impl. I've tried classloader isolation in the jboss-web.xml & jboss-app.xml, adding jboss-classloader.xml to the war or ear or both, but with no success.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.