How to change the deployment order of EAR files which contains EJB Components in JBoss EAP 5

Solution Unverified - Updated -

Issue

  • Is there a way to change the deployment order of our EAR files (which contains inter-dependent EJB components) without changing the deployment descriptors everytime.

  • Is it possible to change the deployment Order of EAR files without altering anything physically inside the EAR file everytime?

  • Getting error while looking up EJB but this is periodic behaviour, There is an application that actually runs fine on JBoss 5.2. However every once in a while we see this following error and need to restart the server, this error is only seen during start up and restarting the server always solves the problem.
FATAL [test.Example] (main) Unable to lookup EJB: test.ExampleBean, abc/ExampleBean/local
javax.naming.NameNotFoundException: ExampleBean not bound

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.1.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