?
Solved

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

Posted on 2007-12-05
1
Medium Priority
?
231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 19

Accepted Solution

by:
ramazanyich earned 1500 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

777 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