A EJB2 dependency specification does not work in JBoss EAP 5.x

Solution Verified - Updated -

Issue

  • Dependencies on a EJB2 EjbModule MBean specified via a <depends> element in jboss.xml, jboss-web.xml does not work.
  • Message Driven Beans (MDBs) miss dependencies in deployments due to  messages waiting to be processed.  Waiting messages trigger the MDB before other dependencies are deployed.
  • A NameNotFoundException is encountered during an MDB during startup.
  • How to add dependency of mbean service on EJB in JBoss EAP 5.x?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content