Hello,
I have an EJB module packed in an EAR and although I declare it in application.xml as a regular jar file, JBOSS realizes that is an EJB module (it has an ejb-jar file) and deploys it. Of course the easy solution is to delete ejb-jar.xml from the module.
My question is: Is there a way to tell JBOSS that I don?t want a certain module to be deployed?
Thanks in advance,
Catalin
Don't declare it in the application.xml. To have the jar included in the classpath it would have to be referenced via a Class-Path manifest header or by declaring it to be a simple java module rather than an ejb module.