MDB is unable to connect to jms destination, Foreign Destination

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

MDB is unable to connect to jms destination, Foreign Destination

by bryanbj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi hi,  when I am trying to deploy my EAR into weblogic, it shows the following warning:

<BEA-010061> <The Message-Driven EJB: CapabilitiesQueueReceiverBean is unable to connect to the JMS destination: jms/Capabilities. The Error was:
weblogic.jms.common.InvalidDestinationException: [JMSClientExceptions:055142]Foreign destination, Capabilities@router1>
####<Aug 12, 2009 2:02:56 PM GMT+08:00> <Warning> <EJB> <BEIWORBWRCAO> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1250056976976> <BEA-010096> <The Message-Driven EJB: CapabilitiesQueueReceiverBean is unable to connect to the JMS destination or bind to JCA resource adapter: jms/Capabilities. Connection failed after 789 attempts. The MDB will attempt to reconnect/rebind every 10 seconds. This log message will repeat every 600 seconds until the condition clears.>


I deployed swiftmq.rar as a resource adapter into weblogic successfully, and one of my message driven beans need to listen to the queue jms/Capabilities which is configed in weblogic-ra.xml of swiftmq.rar, but it shows the above warning, can anyone tell me why?  because I am not familiar with the integration swiftmq with weblogic,  our swiftmq used to work well with Glassfish, but not with weblogic11g.....


Re: MDB is unable to connect to jms destination, Foreign Destination

by bryanbj :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

and in the JNDI tree of weblogic server domain,  the jms connection factory and queues which are configed in weblogic-ra.xml of swiftmq seems like the following:

JNDI Contexts
Name                 Class Name
Capabilities                javax.naming.Reference
ConnectionFactory javax.naming.Reference
Imei                        javax.naming.Reference
NotifyServiceQueue javax.naming.Reference

I think it shouldn't be javax.naming.Reference for the class name, it got to be wrong, but I don't know if it is because of my weblogic-ra.xml/ra.xml or the configuration in weblogic

Re: MDB is unable to connect to jms destination, Foreign Destination

by IIT Software :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Again, this is Weblogic related. Please post your messages there.