3 Replies Latest reply on Apr 7, 2005 5:06 AM by darranl

    Entity bean failing as DataSource not deployed before bean

    gareth.powell

      I have created a SAR that contains a service that uses an EJB3 entity bean. If the the server is running with the required datasource configured, the SAR can be deployed and runs perfectly. The problem arises when I come to restart the server. It appears that the SAR attempts to deploy before the datasource is available and therefore fails to run. I have tried adding the ObjectName of the datasource into the jboss-service.xml depends tag, but this does not fix the problem. If anyone can point me in the right direction to what I am missing, that would be very much appreciated.

      Thanks,

      Gareth Powell