Random uid attributes appended to EJB module names break dependencies

Solution Verified - Updated -

Issue

  • I need to place a dependency on my EJB2 module to have the proper deployment order, but the name has a random uid attribute appended to it

    • module="ejb2.jar",service=EjbModule,uid=10520246
  • It's impossible to account for this random uid when trying to create a dependency:

    • <depends>jboss.j2ee:module=ejb2.jar,service=EjbModule</depends>

Environment

  • 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.