1 Reply Latest reply on Jul 1, 2009 5:47 AM by Vicky Kak

    Trying to use a connection factory that has been shut down

    Rajdeep Das Newbie

      Hi All,
      I am using jboss 5.0.0.GA in my production environment. Recently my application deployment has started throwing the following error:

      2009-06-26 15:05:11,946 ERROR [STDERR] (http-0.0.0.0-80-3) org.jboss.util.NestedSQLException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)

      A little up in the log I found that the HDScanner has removed my datasource deployment and redeploying the same. This is causing my previously open connections to become unavailable.

      My question is that, why is jboss redeploying my datasource in the middle of execution?

      Regards
      Rajdeep