Custom modules are not visible to the EAR subdeployments in EAP6

Solution Unverified - Updated -

Issue

  • An EAR contains some sub-modules like following:

/TestLogging.ear
├──── DemoWeb.war
├──── DemoEJB.jar
└──── META-INF

  • With the above kind of EAR even if the following kind of "$EAR/META-INF/jboss-deployment-structure.xml" file is added , still the Sub deployments like "DemoWeb.war" and "DemoEJB.jar" can not see/access the Classes present inside the "aaa.bbb" module.
   <jboss-deployment-structure>
       <deployment>
            <dependencies>      
               <module name="aaa.bbb" />
            </dependencies>
       </deployment>
   </jboss-deployment-structure>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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