- We are installing a war file. The war package needs to load a class from a jar in
WEB-INF/libinstead of the one provided by the JBoss module.
- For example, we would like to force JBoss to not load classes from
com/sun/org/apache/xml/internal/security/transforms/implementationswhich is under the
sun.jdkmodule by excluding it in
WEB-INF/jboss-deployment-structure.xmland instead load this particular class from WAR provided
- Our web deployment
MyWeb.warhas dependency on another deployment
AnotherDeployment.jar), how to declare dependency on
AnotherDeployment.jar) , but exclude some classes / packages from it ?
- I am trying to add
<exclude path="com/abc"/>in my
MyWeb.war, to exclude class
com.abc.util.UtilClassfrom another dependency deployment, but that doesn't work.
- How do I setup class exclusion or module dependency for a sub-deployment within ear ?
- Red Hat JBoss Enterprise Application Platform (EAP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.