我们正在将应用程序代码从WAS 8.0迁移到Liberty。我们的应用程序使用Message Queue功能,该功能在WAS 8.0中可以正常工作。在Liberty概要文件中,我们能够与MQ服务器建立连接,但无法发送或接收任何消息。有人可以告诉我们为什么会出现以下异常情况吗?
Error receive message from queue: default:1:1:MQSYS01:1443:QA.GMI.SRD.BOB.REPLY - MQJE001: An MQException occurred: Completion Code 2, Reason 2019
MQJI027: The queue has been closed
javax.jms.JMSException: MQJMS2002: failed to get message from MQ queue
[7/31/18 5:55:15:420 EDT] 00000085 SystemErr R at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:530)
[7/31/18 5:55:15:420 EDT] 000000f3 com.ibm.ws.app.manager.AppMessageHelper A CWWKZ0009I: The application bobr has stopped successfully.
[7/31/18 5:55:15:420 EDT] 00000085 SystemErr R at com.ibm.mq.jms.MQQueueReceiver.getMessage(MQQueueReceiver.java:1729)
[7/31/18 5:55:15:420 EDT] 00000085 SystemErr R at com.ibm.mq.jms.MQQueueReceiver.receiveInternal(MQQueueReceiver.java:1151)
[7/31/18 5:55:15:420 EDT] 00000085 SystemErr R at com.ibm.mq.jms.MQQueueReceiver.receive(MQQueueReceiver.java:470)
[7/31/18 5:55:15:420 EDT] 00000085 SystemErr R at com.ibm.mq.jms.MQQueueReceiver.receive(MQQueueReceiver.java:541)
[7/31/18 5:55:15:420 EDT] 00000085 SystemErr R at com.met.map.gmil.jms.JmsMessageManager.receive(Unknown Source)