我们使用Swfitmq作为jms provider, 应用服务器是weblogic, 在消息驱动Bean里配置的是 @MessageDriven(mappedName = jsm/Capabilities)
public class CapabilitiesQueueReceiverBean implements MessageListener把swiftmq.rar作为resource adapter部署到weblogic, 设置weblogic-ra.xml 和ra.xml, 但现在部署包含上面那个MDB的ear时, 出现下面的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.>其他的MDB可以连接到weblogic的JMS connection factory 和destination, 但就是连接不到swiftmq的, 而且部署完swfitmq.rar后, 在weblogic server的jndi tree里的JMS 显示JNDI Contexts
Name Class Name
Capabilities javax.naming.Reference
ConnectionFactory javax.naming.Reference
NotifyServiceQueue javax.naming.Reference 请问这个正常吗? 怎么connectionFactory和queue的class name都是Java.naming.Reference呢? 有人知道怎么解决这个foreing destination的问题吗? 折腾好几天了
public class CapabilitiesQueueReceiverBean implements MessageListener把swiftmq.rar作为resource adapter部署到weblogic, 设置weblogic-ra.xml 和ra.xml, 但现在部署包含上面那个MDB的ear时, 出现下面的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.>其他的MDB可以连接到weblogic的JMS connection factory 和destination, 但就是连接不到swiftmq的, 而且部署完swfitmq.rar后, 在weblogic server的jndi tree里的JMS 显示JNDI Contexts
Name Class Name
Capabilities javax.naming.Reference
ConnectionFactory javax.naming.Reference
NotifyServiceQueue javax.naming.Reference 请问这个正常吗? 怎么connectionFactory和queue的class name都是Java.naming.Reference呢? 有人知道怎么解决这个foreing destination的问题吗? 折腾好几天了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货