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, 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