Discussion  - 
 
I need a way to define the order on which applications are started on Glassfish 3. Does anyone know?
1
Markus Eisele's profile photoGeoff Ruscoe's profile photoBarry van Someren's profile photoAlberto Gori's profile photo
4 comments
 
No experience of mine to go on, but this post seems promising: http://forums.java.net/node/884869 basically the order of deployment also sets the order of application startup. Did you try checking this and changing the orders in which the applications are listed in the domain.xml?
 
Yes, I tried but it doens't seem to affect the order of deployment.
 
In 3.1.2.2 it does work. Interestingly in the .2 release they even fixed another bug about startup that would cause the server to lock up when one app hit a servlet / web service before the other app had finished initializing.
Add a comment...