Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

929 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

15 Experts available now in Live!

Get 1:1 Help Now