I've also checked my configuration and in deployers.xml my MainDeployer is configured to use org.jboss.system.deployers.LegacyDeploymentContextComparator, that if I'm right should use de ordering described in the link above.
In my application I'm using properties-service.xml to define some property that need to be replaced in the ejb-jar.xml inside an ear I've built.
Unfortunatly it seems that the ear is deployed before the properties-service.xml because my properties aren't replaced if I start jboss after putting the ear in the deploy directory.
Instead if I start jboss and then put the ear in the deploy direcotry all get initalized correctly.
Do anyone know what is the problem?
Why the properties-service.xml is deployed after my ear?