[
https://issues.jboss.org/browse/AS7-2136?page=com.atlassian.jira.plugin.s...
]
jaikiran pai commented on AS7-2136:
-----------------------------------
This week, I'm looking into some of the MDB issues reported against AS7. I'll
include this one in that task.
https://github.com/jbossas/jboss-as/pull/747 actually
should fix this.
Can't wire up MDBs when multiple RARs are deployed
--------------------------------------------------
Key: AS7-2136
URL:
https://issues.jboss.org/browse/AS7-2136
Project: Application Server 7
Issue Type: Bug
Components: EJB, JCA
Reporter: Carlo de Wolf
Assignee: jaikiran pai
Fix For: 7.1.0.CR1
Whenever multiple RARs are deployed backed by the same implementation class an MDB is
unable to wire up to the correct RAR.
{code:java}
@MessageDriven(activationConfig = {
@ActivationConfigProperty(propertyName = "destination", propertyValue =
"queue/test")
})
@ResourceAdapter("external-hornetq-ra.rar")
public class ReplyingMDB implements MessageListener
{code}
{noformat}
10:00:01,502 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-10) MSC00001:
Failed to start service
jboss.deployment.unit."ejb3mdb.jar".component.ReplyingMDB.CREATE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."ejb3mdb.jar".component.ReplyingMDB.CREATE: Failed to
start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_26]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
Caused by: java.lang.IllegalStateException: found more than one RA registered
external-hornetq-ra
at
org.jboss.as.ejb3.component.EJBUtilities.createActivationSpecs(EJBUtilities.java:126)
at
org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:78)
at
org.jboss.as.ee.component.BasicComponentCreateService.start(BasicComponentCreateService.java:78)
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]
... 3 more
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira