5 Replies Latest reply on Jan 25, 2008 9:14 AM by Adrian Brock

    Datasource deployed too late

    Edouard Laroche-Joubert Newbie

      Hello all!

      I'm trying to deploy an ear application using a datasource.
      I've placed my ear in the "server/default/deploy/jboss-web.deployer" directory.
      I've place my "mysql-ds.xml" datasource in the "server/default/deploy" directory.

      What's hapening is that the ear (which needs the datasource) is deployed before the datasource !!!! So my application can't find the datasource and then after all the errors JBoss deploys the datasource successfully.

      I'm sure it's a easy thing, but I've been looking a bit everywhere without success (pdf documentation, and this forum :( )

      any idea ?

      thanks in advance to all.