2 Replies Latest reply on Jul 18, 2003 12:41 AM by Bernd Zeitler

    how to bound database pool before deploying a .sar

    neerajvyas Newbie

      I have my application deployed in myapp.sar as a service. Application has startup classes that require database connection to mysql. I have defined mysql-ds.xml in deploy folder.
      Problem is that when I start the server it first tries to deploy myapp.sar before bindng dabase defined in mysql-ds.xml and throws lots of exception also no EJB (entity beans) gets deploys. If I retouch jboss-service.xml then everything works fine.
      Is there any way to set the sequence of deployment so that database pool 1st get bound and then myapp.sar gets deployed ?