aspose file tools
The moose likes Tomcat and the fly likes Order in which applications are deployed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Order in which applications are deployed" Watch "Order in which applications are deployed" New topic
Author

Order in which applications are deployed

Adam Bennett
Greenhorn

Joined: Sep 29, 2006
Posts: 2
Hi,

It seems that when Tomcat deploys .WAR files it does then alphabetically. How do I change this?

I want my soap.war to deploy before my application.war as my application needs the soap features.

Cheers,
Adam
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

There is no way to control the order in which applications in Tomcat get deployed.
I tried once.

(Correction, there wasn't when I tried a couple years ago).

One workaround might be to put a context listener in the apps that depend on the SOAP server app. Have it ping that app every n seconds to see if it's running. Make the servlets in the app unavailable until after the SOAP server proves that it's up and running.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Order in which applications are deployed
 
Similar Threads
prisoner problem
What UML Tool(s) are you using for SCEA Beta Part II?
Beta Part II submission acknowledgement
Convincing the management
Which RSS reader do u use?