Deploy multiple resource adapters (including ironjacamar.xml) fails in JBoss EAP 6.0

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content