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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content