[jboss-user] [IronJacamar] - java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters

Aryan RS do-not-reply at jboss.com
Wed Sep 26 08:29:06 EDT 2012


Aryan RS [https://community.jboss.org/people/aryan02130] created the discussion

"java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters"

To view the discussion, visit: https://community.jboss.org/message/761638#761638

--------------------------------------------------------------
Hi,

I am using ironjacamar.xml in my resource adapter. I have defined two connectionfactories (one for queue and topic - with different JNDI). This seems to fail in JBoss AS7.1.2 with the following error :-

16:59:45,716 ERROR [org.jboss.msc.service] (MSC service thread 1-6) MSC00002: Invocation of listener "org.jboss.as.connector.deployers.ra.processors.ParsedRaDeplo
ymentProcessor$1 at 7d557ee8" failed: java.lang.IllegalStateException: JBAS014666: Duplicate resource resource-adapters
        at org.jboss.as.controller.registry.AbstractModelResource$DefaultResourceProvider.register(AbstractModelResource.java:225) [jboss-as-controller-7.1.2.Fina
l.jar:7.1.2.Final]
        at org.jboss.as.controller.registry.AbstractModelResource.registerChild(AbstractModelResource.java:135) [jboss-as-controller-7.1.2.Final.jar:7.1.2.Final]
        at org.jboss.as.connector.deployers.ra.processors.AbstractResourceAdapterDeploymentServiceListener.transition(AbstractResourceAdapterDeploymentServiceList
ener.java:109) [jboss-as-connector-7.1.2.Final.jar:7.1.2.Final]
        at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1416) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
        at org.jboss.msc.service.ServiceControllerImpl.access$2700(ServiceControllerImpl.java:49) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
        at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1954) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
        at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]

The files I have used are from  http://blog.coffeebeans.at/?p=230 http://blog.coffeebeans.at/?p=230 . 

(I read few responses which asks to pick the nightly build but they were old posts. Is this fix in a newer version after 7.1.2 or a wrong usage ? )

Regards,
Aryan
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/761638#761638]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120926/b66a7ce6/attachment.html 


More information about the jboss-user mailing list