How can I deploy CXF in a WAR without replacing JBossWS-Native in JBoss EAP?

Solution Unverified - Updated -

Issue

  • We are using Apache CXF 2.3.0 in a WAR packaged within our application EAR and unfortunately, because of JBossWS-Native, CXF is not initialized completely on startup and does not work correctly.
  • We are already using scoped class loading with the deployment classes overriding the server classes in the EAR, but this has not helped the classes in the WAR override JBossWS-Native.
  • Since this works in other application servers, changing the packaging is also not an option.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
  • Apache CXF pacakged in web application (war)

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.