I copied the datasouce -ds.xml config and then my ejb jarfile in server/default/deploy and it works fine. But when I restart the server the startup brings error for my ejb deploy because the jndi for my datasource is not found. If I now redeploy my ejb's it works fine again. I think the server tries to deploy the datasource after my ejb's. Is it possible to fix an sequency for startup deploying or an waittime etc ?