2012-08-02 243 views
3

我想我试图启动一个已经运行的通道或其他任何通道。每当我启动发送者频道时,接收者频道都会进入PAUSED状态。 I looked it up,并发现有关AdoptNewMCA配置的一些信息,不知道如何在队列管理器级别进行设置。我如何顺利解决这个问题。仅仅停止并重新启动频道不会。WebSphere MQ接收器通道暂停

错误日志说:

/02/2012 12:38:41 PM - Process(19161.269) User(mqm) Program(amqrmppa) 
        Host() Installation(Installation1) 
        VRMF(7.1.0.0) QMgr(QM_TEST2) 

AMQ9514: Channel 'QM_TEST1.TO.QM_TEST2' is in use. 

EXPLANATION: The requested operation failed because channel 
''QM_TEST1.TO.QM_TEST2' is currently active. ACTION: Either end the channel 
manually, or wait for it to close, and retry the operation. 
----- amqrcsia.c : 1042 ------------------------------------------------------- 
08/02/2012 12:38:41 PM - Process(19161.269) User(mqm) Program(amqrmppa) 
        Host(...) Installation(Installation1) 
        VRMF(7.1.0.0) QMgr(QM_TEST2) 

AMQ9999: Channel ''QM_TEST1.TO.QM_TEST2' to host '17.2.33.44' ended abnormally. 

EXPLANATION: The channel program running under process ID 19161 for 
channel ''QM_TEST1.TO.QM_TEST2' ended abnormally. The host name is 
'17.2.33.44'; in some cases the host name cannot be 
determined and so is shown as '????'. ACTION: Look at previous error 
messages for the channel program in the error logs to determine the 
cause of the failure. Note that this message can be excluded 
completely or suppressed by tuning the "ExcludeMessage" or 
"SuppressMessage" attributes under the "QMErrorLog" stanza in qm.ini. 
Further information can be found in the System Administration Guide. 
----- amqrmrsa.c : 887 -------------------------------------------------------- 

回答

1

当寻找这些东西,我会先用产品手册开始。在这种情况下,通道状态says that上的Infocenter主题处于PAUSED状态的通道正在等待重试间隔。所述sub-topic on channel errors解释了为什么在发送或接收信道可以是在重试:

如果信道不能把一个消息发送到目标队列因为 该队列已满或放抑制,信道可以重试 动作的(在消息重试间隔 属性中指定)的次数(在消息重试次数 属性中指定)。或者,您可以编写自己的消息 - 重试退出 ,确定哪些情况会导致重试,并尝试进行尝试的次数。通道进入PAUSED状态,同时等待消息重试间隔结束。

所以,如果你停止你的频道,你应该在发送端的XMitQ中看到一条消息。如果您启用了该队列,则可以浏览该消息,查看该标题并查看它指定的队列。在接收端,请查看该队列是否已满。

经典的快速发送者,慢消费者问题在这里。如果消费者无法跟上,消息会在接收QMgr上备份,然后通道重试,并开始在发送QMgr上备份。必须监视请求队列上的深度和输入句柄。

+0

谢谢,目标队列已满 – arrehman 2012-08-02 19:37:58

0

确保设置了DLQ。

尝试将邮件重试次数减少为1,以加速使用DLQ。