Deployers order is deterministic.
Even if that's not the case (e.g. possible bug),
there is no way the order is changed during deploy.
Since this example indicates that deployers order is different
when you have pure .war vs. war wrapped in .sar - during deploy on the same instance.
What might be different is that top level deployments are ordered by LegacyComparator,
- see deployers.xml and ear-deployer-jboss-beans.xml -
where other sub deployments are only ordered by relative order or name.
But that shouldn't affect deployers order, only deployment order.
Although with dependencies done right, this shouldn't matter anyway. ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186326#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...