A recent commit (possibly
https://github.com/wildfly/wildfly/commit/6958572eab1c7ee6f3a6916eb1d3d64...)
introduced this problem:
19.09. 15:38:00,638 INFO [org.jboss.as.server.deployment#start]
JBAS015876: Starting deployment of "hgm2e-langfr-sb2000-ipc-ifx-ds.xml"
(runtime-name: "hgm2e-langfr-sb2000-ipc-ifx-ds.xml")
19.09. 15:38:00,702 ERROR [org.jboss.msc.service#invokeListener]
MSC000002: Invocation of listener
"org.jboss.as.connector.subsystems.datasources.DataSourceStatisticsListener@193180c"
failed: java.lang.IllegalArgumentException: JBAS014809: A node is
already registered at '(deployment => *)(subsystem =>
datasources)(data-source => *)(statistics => jdbc)'
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:142)
[wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
at
org.jboss.as.controller.registry.AbstractResourceRegistration.registerSubModel(AbstractResourceRegistration.java:88)
[wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
at
org.jboss.as.connector.subsystems.datasources.DataSourceStatisticsListener.transition(DataSourceStatisticsListener.java:72)
[wildfly-connector-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533)
[jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at
org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51)
[jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at
org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2095)
[jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_40]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_40]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
19.09. 15:38:00,733 INFO
[org.jboss.as.connector.subsystems.datasources#transition] JBAS010400:
Bound data source [java:/hgm2e-langfr-sb2000-ipc]
19.09. 15:38:00,728 INFO
[org.jboss.as.connector.subsystems.datasources#transition] JBAS010400:
Bound data source [java:/hgm2e-langfr-sb2000-ipc-ems]
19.09. 15:38:00,722 ERROR [org.jboss.msc.service#invokeListener]
MSC000002: Invocation of listener
"org.jboss.as.connector.subsystems.datasources.DataSourceStatisticsListener@1c72116"
failed: java.lang.IllegalArgumentException: JBAS014809: A node is
already registered at '(deployment => *)(subsystem =>
datasources)(data-source => *)(statistics => jdbc)'
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:142)
[wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
at
org.jboss.as.controller.registry.AbstractResourceRegistration.registerSubModel(AbstractResourceRegistration.java:88)
[wildfly-controller-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
at
org.jboss.as.connector.subsystems.datasources.DataSourceStatisticsListener.transition(DataSourceStatisticsListener.java:72)
[wildfly-connector-8.0.0.Beta1-SNAPSHOT.jar:8.0.0.Beta1-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533)
[jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at
org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51)
[jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at
org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2095)
[jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_40]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_40]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_40]
19.09. 15:38:00,925 INFO [org.jboss.as.server#handleResult] JBAS018559:
Deployed "hgm2e-langfr-sb2000-ipc-ifx-ds.xml" (runtime-name :
"hgm2e-langfr-sb2000-ipc-ifx-ds.xml")
There 3 datasources defined in -ds.xml files in deployments folder.
First file DefaultDS-ds.xml wich contains DefaultDS deploys fine.
Second file named, hgm2e-langfr-sb2000-ipc-ifx-ds.xml in this case,
defines 2 more datasources which raise these errors.
These more likely warnings, because the application including database
access work fine. But they should go away again.
Stefano / Brian?