Solved

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

Posted on 2007-12-05
1
224 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now