Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-1991

EAR with failed EJB deployment causes other EJB deployments in same EAR to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • TBD EAP 4
    • 4.3.0.GA_CP03
    • EJB
    • None
    • Release Notes
    • Workaround Exists
    • Hide

      Add explicit dependencies to the appropriate deployments.

      Show
      Add explicit dependencies to the appropriate deployments.
    • Not Required

      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.

            rhn-engineering-cdewolf Carlo de Wolf
            bdill_jira Brian Dill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: