0 Replies Latest reply on Nov 15, 2012 11:12 AM by Christophe Burdinat

    Jboss 7.1.1 : datasource shutdowned before the war

    Christophe Burdinat Newbie

      Hi all,


      We've got a web application using a mysql data source, whose driver has been added as a module.
      When the server is shutdowned, it appears that the data source is shutdowned before the web application, which consequently can't update the database before termination.

      In the web application, the data source is referenced and used by spring.


      How and where to configure explicitly the shutdown order ? How to explicitly set the dependency between the war and its datasource ?


      thanks a lot !