[jboss-jira] [JBoss JIRA] (WFLY-5030) Intermittent failure of deployment containing two datasources in -ds.xml

Jan Blizňák (JIRA) issues at jboss.org
Wed Jul 29 13:35:02 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-5030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Blizňák moved JBEAP-543 to WFLY-5030:
-----------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-5030  (was: JBEAP-543)
             Workflow: GIT Pull Request workflow   (was: CDW v1)
    Affects Version/s: 10.0.0.Beta1
                           (was: EAP 7.0.0.DR7)
          Component/s: JCA
                           (was: JCA)
       Target Release:   (was: EAP 7.0.0.GA)


> Intermittent failure of deployment containing two datasources in -ds.xml
> ------------------------------------------------------------------------
>
>                 Key: WFLY-5030
>                 URL: https://issues.jboss.org/browse/WFLY-5030
>             Project: WildFly
>          Issue Type: Bug
>          Components: JCA
>    Affects Versions: 10.0.0.Beta1
>            Reporter: Jan Blizňák
>            Assignee: Jesper Pedersen
>         Attachments: one-datasource.jar, two-datasources.jar
>
>
> Running smoke runs of JBossWS in EAP7, I occasionally hit test failure of WSRMStoreFeatureTestCase (from JBossWS testsuite). The testcase uses deployment that should add some datasources, but deploying ends up with:
> {code}
> org.jboss.msc.service.StartException in service jboss.data-source.java:jboss/datasources/rmclientdb.statistics: Failed to start service
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: WFLYCTL0218: A node is already registered at '/deployment=*/subsystem=datasources/data-source=*/statistics=jdbc'
> 	at org.jboss.as.controller.registry.NodeSubregistry.register(NodeSubregistry.java:86)
> 	at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:180)
> 	at org.jboss.as.connector.services.datasources.statistics.DataSourceStatisticsService.start(DataSourceStatisticsService.java:85)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> 	... 3 more
> {code}
> After some debugging, the problematic scenario seems to be:
> 1) there is a deployment (jar/war, doesn't matter) containing -ds.xml configuration file
> 2) this file contains definition of at least two datasources to be added



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jboss-jira mailing list