MQCONN failed (Reason = 2277)

来源:互联网 发布:基因组数据库意义 编辑:程序博客网 时间:2024/06/05 09:52
MQIError 2010 MQRC_DATA_LENGH_ERROR #4嘿! 我是正在和大文件打交道, 当我在 pyqmi server build 一切正常,代码(如下) 允许我发送和接受文件大于100MB。但是当我增加一个TCP 在客户端模式 只有文件小于4MB(max mgsg leng 设置为100bytes)你好?这不是我以前见过的, 但是我重新请求 有各种限制或者你检查MQ文档对于系统和确认 你实际发送大于4MB,channel 你连接的是配置允许大于4MB?Ok, I got it nowPartially solve the problem by addingpyqmi.CD()andcd.MaxMsgLength=104857600 (or len(msg)+50)So now if i got queue size of 4 mb(for example) i can send up to 100MB segmented.But if I want to send file more than 100MB size i still got 2010 errorand if I change cd.MaxMsgLength to more than 100MB I will get 2277 MQRC_CD_ERROR.

0 0
原创粉丝点击