我在WAS 8.5.5 Base版本上部署了几个应用程序。这些应用程序需要与MQ通信以生成和使用消息。我已经创建了一个SVRCONN频道和相应的CLNTCONN。我正在尝试使用CCDT / TAB文件连接到MQ。当我重新启动JVM / Application Server时,我发现错误如下:
Listener Port ASYNCPORT will attempt to restart in 60 seconds Failed
to start MDB CrConsumerMsgAsync against listener port ASYNCPORT Unable
to start MDB Listener CrConsumerMsgSync
[2/18/17 21:12:57:738 CST] 00000069 SharedEJBRunt I WSVR0037I: Starting EJB jar: APP-INF/lib/producer-ejb.jar
[2/18/17 21:12:57:715 CST] 00000067 MDBListenerIm W WMSG0019E: Unable to start MDB Listener CrProducerMsg, JMSDestination jms/store/request : com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ2020: Failed to connect to queue man ager 'QMGR15' with connection mode 'Client' and supplied CCDT URL 'file:///csapps/websphere/MQ/QMGRQ15.TAB', see linked exception for more information. Check the queue manager is started and if running in client mode, check there is a listener running. Please see the linked exception for more information.
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2278' ('MQRC_CLIENT_CONN_ERROR').
at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:204)
Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2278;AMQ9555: File format error. [3=file:/csapps/websphere/MQ/QMGR15.TAB]
我总共有3个MDB听众。它们都在一个范围内定义,没有重复。其中两个能够启动,但不是 ASYNCPORT 。我目前的MQ版本是:8.0.0.3。我已经在MQ 7.x上生成了TAB文件以测试我的运气,但最终却出现了同样的错误。
如果你能帮助我,我真的很感谢你的帮助:)
答案 0 :(得分:0)
这里的关键是:
Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2278;AMQ9555: File format error. [3=file:/csapps/websphere/MQ/QMGR15.TAB]
WAS 8.5.5.0附带MQ RA 7.1.0.2。如果使用比MQ v7.1更高版本生成TAB文件,则它将无法使用7.1.0.8之前的任何版本的MQ RA读取该文件。 WAS 8.5.5.12将于8月份发布,可能会将RA版本更新为7.1.0.8或更高版本。在此之前,您可以向IBM请求包含APAR IT10863的IFIX,或者使用v7.1或更低版本的队列管理器生成Channel表。