I have a problem with the dependence of my SAR. When the jboss is running and I make deploy of my SAR, the application works without any problem. But when I stop the jboss and I put it to run again alway appear an javax.naming.NameNotFoundException associated with the datasource that I am using. If i make deploy again the application is deployed without any problem. I thing that dependencies of my jboss-server descriptor is not working at all.