9 Replies Latest reply on Nov 13, 2011 10:30 PM by John Solomon J

    -ds.xml file changes not reflect at runtime

    John Solomon J Newbie

           When I try to modify the -ds.xml file while JBoss server running. The following exception came. Seems hot-deployable services not working.        

      org.jboss.util.NestedSQLException: You are trying to use a connection factory that

      has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.r

      esource.ResourceException: You are trying to use a connection factory that has been

      shut down: ManagedConnectionFactory is null.)

              at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperD

      ataSource.java:95)

              at com.ibsplc.ilogistics.ibase.integration.dao.sql.AbstractSqlDAO.getConnec

      tion(AbstractSqlDAO.java:84)

              at com.ibsplc.ilogistics.system.jobscheduler.timer.dao.sql.TimerSqlDAO.crea

      teConnection(TimerSqlDAO.java:61)

              at com.ibsplc.ilogistics.system.jobscheduler.timer.dao.sql.TimerSqlDAO.filt

      erNextInvokeSchedule(TimerSqlDAO.java:74)

              at com.ibsplc.ilogistics.system.jobscheduler.timer.Timer.handleSystemTimern

      otification(Timer.java:172)

              at com.ibsplc.ilogistics.system.jobscheduler.schedulefacade.ejb.JobSchedule

      rManagerEJB.handleScheduleNotification(JobSchedulerManagerEJB.java:541)

       

       

      The exception came after rebounding data source.

      8:21:17,198 INFO  [ConnectionFactoryBindingService] Unbound ConnectionManager 'jbo
      ss.jca:service=DataSourceBinding,name=SAGDataSource' from JNDI name 'SAGDataSource'

      18:21:18,057 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:se
      rvice=DataSourceBinding,name=SAGDataSource' to JNDI name 'SAGDataSource'

       

       

      Currently we need to redeploy the server every time we changes the -ds.xml file

       

      Please suggest a way forward.