Custom modules are not visible to the EAR subdeployments in EAP6
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
