Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to control glassfish module startup order

I have several web modules. There are dependency between them, say during startup, module B will use MBean exposed by module A. How to configure glassfish to enable it start them by specific order? Or is it possible to configure it to load them concurrently.

I searched quite a lot via google, but not result.

BTW, I'm using glassfish-2

like image 390
honnix Avatar asked Nov 06 '22 09:11

honnix


1 Answers

This post indicates that initial deployment order defines the startup order. I have found (on Glassfish 3) that the order is stored in domain.xml so you can swap entries in there.

like image 65
David Avatar answered Dec 01 '22 00:12

David