Hi All,
 
I'm using JBoss 4.0.sp1. I have a custom RA that I have deployed to the server 
successfully and can inspect it from the  jmx console.
 
I have simple ejb app that has a single session bean and a MDB. When the MDB is 
being registered Jboss tries to find the corresponding RA to register the MDB 
listener with and I get the following exception -
 
org.jboss.deployment.DeploymentException: Cannot locate resource adapter deploym
ent null; - nested throwable: (javax.management.InstanceNotFoundException: jboss
.jca:name='null',service=RARDeployment is not registered.)
        at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException
(DeploymentException.java:39)
        at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.resolveResou
rceAdapter(JBossMessageEndpointFactory.java:342)
        at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.startService
(JBossMessageEndpointFactory.java:203)
 
It looks like the RA name is not being picked up for the <message-driven> 
element in the jboss.xml for my ejb app.  The configuration fragment in the 
jboss.xml is -
 
<message-driven>
         <ejb-name>TcpReceiverMDB</ejb-name>
         <resource-adapter-name>mule-ra-SNAPSHOT.rar</resource-adapter-name>
         <configuration-name>Mule Container</configuration-name>
</message-driven>
 
The resource-adapter-name is set to the name of the RAR file deployed to the 
server.  Is this correct?

I'm a newbie to this stuff so any help (no matter how obvious it might seen) 
would be appriciated.
 
Cheers, 
 
Ross
  


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873139#3873139

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873139


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to