Solved

How do we specify JBoss server which application to start first from two applications

Posted on 2007-12-05
1
228 Views
Last Modified: 2013-12-02
Hi Experts,
 
Iam using Jboss server version 4.0.3. In my project we are preparing 2 separate war files for presentation layer and business layer. We are doing hard deployment that is we are copying war files manually to JBoss. When we start JBoss is there a way to specify particular application to start first and then next one. For example i want my business war to load first and then presentation war. Is there any way.

Thanks in advance,
Rave.
0
Comment
1 Comment
 
LVL 19

Accepted Solution

by:
ramazanyich earned 500 total points
ID: 20417935
by default jboss load war files in alphabetical order.
So simplest way is just name your war files correctly and that's it.
Actually deployment is controlled by DeploymentScanner http://wiki.jboss.org/wiki/Wiki.jsp?page=DeploymentScanner
So there you can also provide your own deploymentsorter implementation. But it requires some additional programming and configuration.

So I will preffer first way. And use second one only if your war naming very meaningful for you.
0

Featured Post

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question