JNDI name for the resource adapter bean of SwiftMQ

View: New views
5 Messages — Rating Filter:   Alert me  

JNDI name for the resource adapter bean of SwiftMQ

by bryanbj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi, hi,  when I was trying to deploy my EAR into Weblogic, I got an warning that my message-driven bean was NOT connected to messaging system. Because when I was deploying SwiftMQ.rar as resource adpter, I also got a warning as the follows:

 <BEA-190155> <Compliance checking/validation of the resource adapter D:\bea\user_projects\domains\svi\swiftmq.rar resulted in the following warnings:
This is an inbound resource adapter which defines one or more inbound message listeners and a resource adapter bean in its ra.xml. However, since the weblogic-ra.xml does not specify a JNDI name for the resource adapter bean, it will not be possible for message endpoints (MDBs) to be connected to this resource adapter.>


so can anyone tell me what is the jndi name of SwiftMQ's resource adpter bean?  

thx a lot~

Re: JNDI name for the resource adapter bean of SwiftMQ

by bryanbj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ps:

the warning message of EAR deployment is :

<BEA-010061> <The Message-Driven EJB: TestQueueReceiverBean is unable to connect to the JMS destination: jms/Test. The Error was:
weblogic.jms.common.InvalidDestinationException: [JMSClientExceptions:055142]Foreign destination, Test@router1>

Re: JNDI name for the resource adapter bean of SwiftMQ

by IIT Software :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It's part of the "weblogic-connector" descriptor. Look here.

Re: JNDI name for the resource adapter bean of SwiftMQ

by bryanbj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yes, I have looked into that weblogic-ra.xml, my question is what's the name that I should put in the tag <jndi-name></jndi-name>?  because from the ra.xml, I found this <resourceadapter-class>
      com.swiftmq.connector.v15.ResourceAdapterImpl
    </resourceadapter-class>,

is it the resource adapter bean?  and what is the jndi name of this com.swiftmq.connector.v15.ResourceAdapterImpl?

thx

Re: JNDI name for the resource adapter bean of SwiftMQ

by IIT Software :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's the class name, not the JNDI name.

IMO you can choose any name for JNDI registration. It is just to reference which RA your EAR will use.

But this is a not SwiftMQ releated so please post further messages to a Weblogic forum.