Deploy multiple resource adapters (including ironjacamar.xml) fails in JBoss EAP 6.0
Issue
- We have two resource adapters (rar-files) within our EAR. Both have ironjacamar.xml included in META-INF. This gives us the following exception at deploy time. If I deploy only one of them each of them deploys fine.
15:59:54,520 ERROR [org.jboss.msc.service] (MSC service thread 1-4) MSC000002: Invocation of listener "org.jboss.as.connector.deployers.ra.processors.ParsedRaDeploymentProcessor$1@32be8e12" failed: java.lang.IllegalArgumentException: JBAS014809: A node is already registered at '(deployment => *)(subdeployment => *)(subsystem => resource-adapters)(ironjacamar => ironjacamar)'
at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:108) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
-
My problem is already addressed in the forum on jboss.org: Deploy multiple resource adapters (including ironjacamar.xml) https://community.jboss.org/thread/202351
-
JBAS014666: Duplicate resource resource-adapters upon deployment of qpid resource adapter
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
