after upgrading from JBoss-2.4.x-Tomcat-X to JBoss-3.0 it is not possible to deploy my EJBs at startup of JBoss. It is trying to deploy my Beans before the Datasource was deployed or bounded in JNDI! So, during EJB deployment, an DeploymentException is thrown because of the unbounded Datasource. If I copy my ear file into the deploy directory after JBoss started successfully, the deployment will be ok.
Does anybody of you know, how I can force JBoss to deploy and bind the Datasource before deploying the EJBs?