1 Reply Latest reply on Sep 12, 2014 5:33 AM by Babacar GUEYE

    Datasource administration in domain mode

    Jean-Pierre RIO Newbie

      Hello everybody,

       

      I have a problem with datasource administration in domain mode (WF 8.1.0.Final) : I can disable a datasource, modify it, save the changes, but when I try to re-enable it, the datasource remains disable in the console and in domain. xml (enabled="false").

       

      Yet, after clicking the "Enable" button, I can see the following lines in the logs :

      [Server:server-one] 09:16:09,492 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      [Server:server-two] 09:16:09,506 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

       

      If I click one more time on "Enable" in the console, I have the following error :

      [Server:server-two] ]): org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source-config.ExampleDS is already registered

      [Server:server-one] ]): org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source-config.ExampleDS is already registered

       

      This works fine in standalone mode.