[
https://issues.jboss.org/browse/AS7-1638?page=com.atlassian.jira.plugin.s...
]
Nicklas Karlsson commented on AS7-1638:
---------------------------------------
Still present in upstream master
{code}
11:52:01,835 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed
to start service jboss.raactivator: org.jboss.msc.service.StartException in service
jboss.raactivator: Failed to start RA deployment [hornetq-ra]
at
org.jboss.as.connector.services.ResourceAdapterActivatorService.start(ResourceAdapterActivatorService.java:99)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.7.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.7.0]
at java.lang.Thread.run(Thread.java:722) [:1.7.0]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed:
file://RaActivatorhornetq-ra
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1977)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:870)
at
org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator.doDeploy(ResourceAdapterActivatorService.java:141)
at
org.jboss.as.connector.services.ResourceAdapterActivatorService.start(ResourceAdapterActivatorService.java:94)
... 5 more
Caused by: org.jboss.msc.service.DuplicateServiceException: Service
jboss.connector.connection-factory.java:/JmsXA is already registered
at
org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:226)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.as.connector.metadata.deployment.AbstractResourceAdapterDeploymentService$AbstractAS7RaDeployer.bindConnectionFactory(AbstractResourceAdapterDeploymentService.java:228)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1765)
... 8 more
{code}
my sequence is
{code}
batch
/subsystem=datasources/jdbc-driver:add(...
/subsystem=datasources/data-source:add...
/subsystem=datasources/data-source:add...
/subsystem=datasources/data-source:add...
/socket-binding-group=standard-sockets/socket-binding=http:write-attribute(name="port",
value="80")
/subsystem=deployment-scanner/scanner=default:write-attribute(name="auto-deploy-exploded",
value="true")
:reload
run-batch
{code}
Exception after reloading in CLI
--------------------------------
Key: AS7-1638
URL:
https://issues.jboss.org/browse/AS7-1638
Project: Application Server 7
Issue Type: Bug
Components: JCA, JMS
Affects Versions: 7.0.0.Beta1
Reporter: Nicklas Karlsson
Assignee: Stefano Maestri
Fix For: 7.1.0.Beta1
Running a CLI batch
batch
/subsystem=datasources/jdbc-driver=oracle:add(driver-name="oracle",driver-module-name="com.oracle.db")
/subsystem=datasources/data-source=...:add..
/socket-binding-group=standard-sockets/socket-binding=http:write-attribute(name="port",
value="80")
/subsystem=deployment-scanner/scanner=default:write-attribute(name="auto-deploy-exploded",
value="true")
:reload
run-batch
gives a
08:52:55,533 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread
1-8) trying to deploy queue jms.topic.testTopic
08:52:55,544 INFO
[org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator]
(MSC service thread 1-4) Registered connection factory java:/JmsXA
08:52:55,545 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed
to start service jboss.raactivator: org.jboss.msc.service.StartException in service
jboss.raactivator: Failed to activate resource adapter hornetq-ra
at
org.jboss.as.connector.services.ResourceAdapterActivatorService.start(ResourceAdapterActivatorService.java:98)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at
org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.7.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.7.0]
at java.lang.Thread.run(Thread.java:722) [:1.7.0]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed:
file://RaActivatorhornetq-ra
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1929)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:825)
at
org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator.doDeploy(ResourceAdapterActivatorService.java:140)
at
org.jboss.as.connector.services.ResourceAdapterActivatorService.start(ResourceAdapterActivatorService.java:93)
... 5 more
Caused by: org.jboss.msc.service.DuplicateServiceException: Service
jboss.connector.connection-factory.java:/JmsXA is already registered
at
org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154)
at
org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:226)
at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560)
at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307)
at
org.jboss.as.connector.metadata.deployment.AbstractResourceAdapterDeploymentService$AbstractAS7RaDeployer.bindConnectionFactory(AbstractResourceAdapterDeploymentService.java:228)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1714)
... 8 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira