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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.