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, 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