How can a sub deployment of an ear access classes in a war also contained in the ear in JBoss EAP

Solution Unverified - Updated -

Issue

I have a legacy ear application with the structure below, the EJB.jar needs to be able to access the web.war classes. I know the shared classes should be extracted to ear/lib but this is a legacy applications, is there a way to configure it to allow the EJB.jar to see the war's classes?

EAR
-----EJB.jar
-----web.war

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 6

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.