[jboss-user] [IronJacamar] - Re: class loading of an inbound resource adapter?

Kai Grunert do-not-reply at jboss.com
Wed Aug 31 13:27:42 EDT 2011


Kai Grunert [http://community.jboss.org/people/kgrunert] created the discussion

"Re: class loading of an inbound resource adapter?"

To view the discussion, visit: http://community.jboss.org/message/624114#624114

--------------------------------------------------------------
Thank you for the answer - now the .jar-file resolves the dependencies correctly!

I have also added the @ResourceAdapter annotation to the MDB, but another exception occurs:

19:04:39,890 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."UDPMsgBean.jar".component.UDPMessageDrivenBean.CREATE: org.jboss.msc.service.StartException in service jboss.deployment.unit."UDPMsgBean.jar".component.UDPMessageDrivenBean.CREATE: Failed to start service
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1786)
    at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
    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: No resource adapter registered with resource adapter name RA_UDP
    at org.jboss.as.ejb3.component.EJBUtilities.createActivationSpecs(EJBUtilities.java:115)
    at org.jboss.as.ejb3.component.messagedriven.MessageDrivenComponentCreateService.createComponent(MessageDrivenComponentCreateService.java:76)
    at org.jboss.as.ee.component.BasicComponentCreateService.start(BasicComponentCreateService.java:78)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
    ... 4 more


The same happens, if I deploy everything as  an .ear-file.

Is there something incorrect with the value of the annotation? I have also tried "deployment.RA_UDP.rar", but it does not work.
@ResourceAdapter("RA_UDP.rar")


The exception says, that the resource adapter is not registered - isn't it done automatically?

Any other ideas where the problem is?
--------------------------------------------------------------

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

Start a new discussion in IronJacamar at Community
[http://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/20110831/c891bfd5/attachment.html 


More information about the jboss-user mailing list