If you are running JBoss AS 7 or WildFly check the following tutorial: Configuring JBoss AS 7 deployment order.

For older JBoss 4/5/6 releases follow this tip:

If your application needs to be deployed after other applications, the quickest way to instruct JBoss to do it is simply creating a "deploy.last" folder inside the "deploy" folder.
JBoss will then pickup this application when has terminated deploying other applications under "deploy"

 

0
0
0
s2smodern

Related articles available on mastertheboss.com

How to configure JBoss to disable hot deployment ?

On JBoss AS 7 and WildFly the default rule is that archived appli

How do I make sure my MBean is deployed after my EJB ?

  If your MBean is dependant on another resource, supposing cont

How do I change the default lib directory in an ear file?

  Supposing you have an Enterprise application which has been pa

How to deploy an application temporarly with JBoss ?

One way to do it, is using the jboss.system:service=MainDeployer

How to add a custom JBoss archive in an Ear ?

JBoss custom archives (like .sar or .har) are not recognized by t

JBoss deployment directory configuration

In this tutorial we are going to show how to provide an alternati