views:

111

answers:

2

Hi,

I have a number of war projects deployed in a single tomcat 5.5 container. They consume each other's services through http, and thus I need to make sure that, when Tomcat is restarted, they are deployed in an specific order. After a couple of hours googlin' around, no luck.

Anyone knows how to setup tomcat 5.5 to deploy wars on restart in an specific order?

Thanks in advance

A: 

Frankly speaking, you need to revisit your architecture.

Your applications are too tightly coupled with each other.

You should probably have some controller application and have all applications register with it or something like that.

This is just a shot in the dark without knowing too much about your specific problem

RN
A: 

Re-structure your apps into a core-plus-addons. Put the core code into the shared/lib folder and the webapps can access it from there.

james