When deploying an EAR with two EJB deployments inside it, if the first deployment fails other deployments in that EAR will not be deployed. If you use <module-order>strict</module-order> in your jboss-app.xml and force the failed deployment to be last, the other deployment will deploy successfully, essentially partially deploying the EAR.
I've uploaded a test case that contains an EAR with two EJB deployments. Hello EJB will succeed, but Goodbye EJB is designed to fail. Switch the module ordering in application.xml to see both the described effects.
- is duplicated by
-
JBAS-6915 EAR with failed EJB deployment causes other EJB deployments in same EAR to fail
- Closed