[
https://issues.jboss.org/browse/WFLY-2880?page=com.atlassian.jira.plugin....
]
Frank Langelage commented on WFLY-2880:
---------------------------------------
Problem is not solved for me, still get this for every datasource deployment after the
first one:
08.02. 20:15:13,965 INFO [org.jboss.as.server.deployment#start] JBAS015876: Starting
deployment of "maj2e-langfr-dev-ora-ds.xml" (runtime-name:
"maj2e-langfr-dev-ora-ds.xml")
08.02. 20:15:14,009 INFO [org.jboss.as.connector.subsystems.datasources#transition]
JBAS010400: Bound data source [java:jboss/datasources/maj2e-langfr-dev]
08.02. 20:15:13,998 ERROR [org.jboss.msc.service#invokeListener] MSC000002: Invocation of
listener
"org.jboss.as.connector.subsystems.datasources.DataSourceStatisticsListener@1f87b4f"
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:145)
[wildfly-controller-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
at
org.jboss.as.controller.registry.AbstractResourceRegistration.registerSubModel(AbstractResourceRegistration.java:90)
[wildfly-controller-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
at
org.jboss.as.connector.subsystems.datasources.DataSourceStatisticsListener.transition(DataSourceStatisticsListener.java:72)
[wildfly-connector-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533)
[jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51)
[jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099)
[jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_60-ea]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_60-ea]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_60-ea]
08.02. 20:15:14,329 INFO [org.jboss.as.server#handleResult] JBAS018559: Deployed
"maj2e-langfr-dev-ora-ds.xml" (runtime-name :
"maj2e-langfr-dev-ora-ds.xml")
DsXmlDeploymentInstallProcessor passes wrong
ManagementResourceRegistration to DataSourceStatisticsListener
-----------------------------------------------------------------------------------------------------------
Key: WFLY-2880
URL:
https://issues.jboss.org/browse/WFLY-2880
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Domain Management, JCA
Affects Versions: 8.0.0.CR1
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 8.0.0.Final
Unlike AbstractDataSourceAdd, which passes an override registration into
DataSourceStatisticsListener, DsXmlDeploymentInstallProcessor passes in the main
registration.
I believe this is the cause of the following stuff in the logs Tomaz Cerar saw when
messing about with the WildFly quickstarts:
{noformat}
22:50:05,945 ERROR [org.jboss.msc.service] (MSC service thread 1-4) MSC000002: Invocation
of listener
"org.jboss.as.connector.subsystems.datasources.DataSourceStatisticsListener@1281d4a"
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:145)
[wildfly-controller-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
at
org.jboss.as.controller.registry.AbstractResourceRegistration.registerSubModel(AbstractResourceRegistration.java:90)
[wildfly-controller-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
at
org.jboss.as.connector.subsystems.datasources.DataSourceStatisticsListener.transition(DataSourceStatisticsListener.java:72)
[wildfly-connector-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
at
org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1533)
[jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl.access$2800(ServiceControllerImpl.java:51)
[jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at
org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:2099)
[jboss-msc-1.2.0.Final.jar:1.2.0.Final]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.8.0]
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira