我已经在面向集群的Weblogic 12c服务器中部署了EAR . 此处群集由同一物理计算机上的2个受管服务器组成 .

现在,根据我的要求,应用程序消耗来自外国目的地的消息,例如MQ系列,所以我的应用程序中有一个MDB,它应该通过JNDI查找连接到远程队列 .

所以,为了实现这一点,我已经完成了以下步骤:

1)创建了一个以集群为目标的JMS服务器 .

2)创建了一个针对集群的JMS模块 .

3)在JMS模块内部创建了一个外部服务器并选中了“默认目标已启用”选项 . 因此,它的目标也是与其父集群相同 .

4)在外部服务器内部,我创建了目标和连接工厂 .

进行上述更改后,当我尝试部署我的EAR时,我收到以下错误消息 . 我的MDB未连接到目标消息队列 .

The Message-Driven EJB TestMDB is unable to connect to the JMS destination jms/TEST_FEED_QUEUE. The Error was: The destination for the MessageDrivenBean TESTMDB could not be resolved at this time. Please ensure the destination is available at the JNDI name jms/TEST_FEED_QUEUE. The EJB container will periodically attempt to resolve this MessageDrivenBean destination and additional warnings may be issued.

其他受管服务器上也显示了类似的错误 .

请建议,我做错了 . 请建议 .