0

我在 Linux 上工作,我在机器上安装了 MQ 版本 7.1 和 Broker 8.0.0.1。我有一个无法测试/运行的 Http 流。如果我在 AIX 上部署相同的流程。我能够成功运行,但是当我尝试在 Linux 的情况下执行此操作时,我得到一个超时,因为在 HTTPReply 节点没有收到任何内容。

流程是这样的:

HTTPInput --> 计算 --> MQOutput --> 计算 --> MQOutput(队列 1)

MQInput --> MQGet(队列 1) --> 计算 -->HTTPReply

在 syslog 中,我在 Linux 上得到了这个:

WebSphere Broker v8001[21605]: (NSPZPAI1.BIBTEST1)[121]BIP2628E: Exception condition detected on input node 'com.dcx.bib.test.http.HTTPBIBGateway.MQInput'. : NSPZPAI1.8f1bda8b-3c01-0000-0080-89b5509992f7: /build/slot1/S800_P/src/DataFlowEngine/ImbCommonInputNode.cpp: 1982: ImbCommonInputNode::run: ComIbmMQInputNode: com/dcx/bib/test/http/HTTPBIBGateway#FCMComposite_1_9
WebSphere Broker v8001[21605]: (NSPZPAI1.BIBTEST1)[121]BIP2628E: Exception condition detected on input node 'com.dcx.bib.test.http.HTTPBIBGateway.MQInput'. : NSPZPAI1.8f1bda8b-3c01-0000-0080-89b5509992f7: /build/slot1/S800_P/src/DataFlowEngine/ImbCommonInputNode.cpp: 1982: ImbCommonInputNode::run: ComIbmMQInputNode: com/dcx/bib/test/http/HTTPBIBGateway#FCMComposite_1_9
WebSphere Broker v8001[21605]: (NSPZPAI1.BIBTEST1)[121]BIP2230E: Error detected whilst processing a message in node 'com.dcx.bib.test.http.HTTPBIBGateway.HTTP Reply1'. : NSPZPAI1.8f1bda8b-3c01-0000-0080-89b5509992f7: /build/slot1/S800_P/src/WebServices/WSLibrary/ImbWSReplyNode.cpp: 932: ImbWSReplyNode::evaluate: ComIbmWSReplyNode: com/dcx/bib/test/http/HTTPBIBGateway#FCMComposite_1_11
WebSphere Broker v8001[21605]: (NSPZPAI1.BIBTEST1)[121]BIP2230E: Error detected whilst processing a message in node 'com.dcx.bib.test.http.HTTPBIBGateway.HTTP Reply1'. : NSPZPAI1.8f1bda8b-3c01-0000-0080-89b5509992f7: /build/slot1/S800_P/src/WebServices/WSLibrary/ImbWSReplyNode.cpp: 932: ImbWSReplyNode::evaluate: ComIbmWSReplyNode: com/dcx/bib/test/http/HTTPBIBGateway#FCMComposite_1_11
WebSphere Broker v8001[21605]: (NSPZPAI1.BIBTEST1)[121]BIP3143S: Message does not contain valid HTTP context information : NSPZPAI1.8f1bda8b-3c01-0000-0080-89b5509992f7: /build/slot1/S800_P/src/WebServices/WSLibrary/ImbWSReplyNode.cpp: 507: ImbWSReplyNode::evaluate: ComIbmWSReplyNode: com/dcx/bib/test/http/HTTPBIBGateway#FCMComposite_1_11
WebSphere Broker v8001[21605]: (NSPZPAI1.BIBTEST1)[121]BIP3143S: Message does not contain valid HTTP context information : NSPZPAI1.8f1bda8b-3c01-0000-0080-89b5509992f7: /build/slot1/S800_P/src/WebServices/WSLibrary/ImbWSReplyNode.cpp: 507: ImbWSReplyNode::evaluate: ComIbmWSReplyNode: com/dcx/bib/test/http/HTTPBIBGateway#FCMComposite_1_11

我非常确定在相同环境的 AIX 上完全相同的工作原理,那么为什么我在 Linux 上会收到此错误?如果消息流在 AIX 上端到端工作,那么消息流不会有问题,那么在 Linux 上会出现什么问题呢?如果问题是基于操作系统的,那么我应该检查什么?请提出建议。


@nitgeek ..我在 HTTP 回复之前放置了一个跟踪节点,但由于消息通过 MQGet 节点的无消息终端发出,所以什么也没得到。当我在 MQGet 节点之前和之后放置跟踪节点时。我得到了以下两者:

( ['MQROOT' : 0x76fa1f0]
  (0x01000000:Name):Properties = ( ['MQPROPERTYPARSER' : 0x75ccfa0]
    (0x03000000:NameValue):MessageSet             = '' (CHARACTER)
    (0x03000000:NameValue):MessageType            = '' (CHARACTER)
    (0x03000000:NameValue):MessageFormat          = '' (CHARACTER)
    (0x03000000:NameValue):Encoding               = 273 (INTEGER)
    (0x03000000:NameValue):CodedCharSetId         = 1208 (INTEGER)
    (0x03000000:NameValue):Transactional          = FALSE (BOOLEAN)
    (0x03000000:NameValue):Persistence            = TRUE (BOOLEAN)
    (0x03000000:NameValue):CreationTime           = GMTTIMESTAMP '2013-02-04 10:43:55.720' (GMTTIMESTAMP)
    (0x03000000:NameValue):ExpirationTime         = -1 (INTEGER)
    (0x03000000:NameValue):Priority               = 0 (INTEGER)
    (0x03000000:NameValue):ReplyIdentifier        = X'414d51204e53505a504149312020202016efbfbd0a511607' (BLOB)
    (0x03000000:NameValue):ReplyProtocol          = 'MQ' (CHARACTER)
    (0x03000000:NameValue):Topic                  = NULL
    (0x03000000:NameValue):ContentType            = '' (CHARACTER)
    (0x03000000:NameValue):IdentitySourceType     = '' (CHARACTER)
    (0x03000000:NameValue):IdentitySourceToken    = '' (CHARACTER)
    (0x03000000:NameValue):IdentitySourcePassword = '' (CHARACTER)
    (0x03000000:NameValue):IdentitySourceIssuedBy = '' (CHARACTER)
    (0x03000000:NameValue):IdentityMappedType     = '' (CHARACTER)
    (0x03000000:NameValue):IdentityMappedToken    = '' (CHARACTER)
    (0x03000000:NameValue):IdentityMappedPassword = '' (CHARACTER)
    (0x03000000:NameValue):IdentityMappedIssuedBy = '' (CHARACTER)
  )
  (0x01000000:Name):MQMD       = ( ['MQHMD' : 0x73cf7c0]
    (0x03000000:NameValue):SourceQueue      = 'PAI.JUNIT.REPLY' (CHARACTER)
    (0x03000000:NameValue):Transactional    = FALSE (BOOLEAN)
    (0x03000000:NameValue):Encoding         = 273 (INTEGER)
    (0x03000000:NameValue):CodedCharSetId   = 1208 (INTEGER)
    (0x03000000:NameValue):Format           = '        ' (CHARACTER)
    (0x03000000:NameValue):Version          = 2 (INTEGER)
    (0x03000000:NameValue):Report           = 64 (INTEGER)
    (0x03000000:NameValue):MsgType          = 8 (INTEGER)
    (0x03000000:NameValue):Expiry           = -1 (INTEGER)
    (0x03000000:NameValue):Feedback         = 0 (INTEGER)
    (0x03000000:NameValue):Priority         = 0 (INTEGER)
    (0x03000000:NameValue):Persistence      = 1 (INTEGER)
    (0x03000000:NameValue):MsgId            = X'414d51204e53505a5041493120202020168f0a510a880620' (BLOB)
    (0x03000000:NameValue):CorrelId         = X'414d51204e53505a504149312020202016efbfbd0a511607' (BLOB)
    (0x03000000:NameValue):BackoutCount     = 0 (INTEGER)
    (0x03000000:NameValue):ReplyToQ         = '                                                ' (CHARACTER)
    (0x03000000:NameValue):ReplyToQMgr      = 'NSPZPAI1                                        ' (CHARACTER)
    (0x03000000:NameValue):UserIdentifier   = 'mqbrkrs     ' (CHARACTER)
    (0x03000000:NameValue):AccountingToken  = X'0539393736360000000000000000000000000000000000000000000000000006' (BLOB)
    (0x03000000:NameValue):ApplIdentityData = '                                ' (CHARACTER)
    (0x03000000:NameValue):PutApplType      = 6 (INTEGER)
    (0x03000000:NameValue):PutApplName      = 'java                        ' (CHARACTER)
    (0x03000000:NameValue):PutDate          = DATE '2013-02-04' (DATE)
    (0x03000000:NameValue):PutTime          = GMTTIME '10:43:55.720' (GMTTIME)
    (0x03000000:NameValue):ApplOriginData   = '    ' (CHARACTER)
    (0x03000000:NameValue):GroupId          = X'000000000000000000000000000000000000000000000000' (BLOB)
    (0x03000000:NameValue):MsgSeqNumber     = 1 (INTEGER)
    (0x03000000:NameValue):Offset           = 0 (INTEGER)
    (0x03000000:NameValue):MsgFlags         = 0 (INTEGER)
    (0x03000000:NameValue):OriginalLength   = -1 (INTEGER)
  )
  (0x01000000:Name):BLOB       = ( ['none' : 0x76c5da0]
    (0x03000000:NameValue):UnknownParserName = '' (CHARACTER)
    (0x03000000:NameValue):BLOB              = X'3c3f786d6c2076657273696f6e3d22312e30223f3e3c746573745f7265706f72742074657374636173653d22424942334e4f444530315343312220737461727454696d653d224d6f6e204665622030342030353a34333a35352045535420323031332220656e6454696d653d224d6f6e204665622030342030353a34333a353520455354203230313322207375636365737366756c3d2274727565223e3c636173652069643d22424942334e4f4445303173633122207374617475733d2273756363657373223e3c2f636173653e3c2f746573745f7265706f72743e' (BLOB)
  )
)

请建议我哪里出错了。

4

1 回答 1

0

要在命令提示符下运行跟踪,请运行以下命令。

    mqsichangetrace broker_name -u -e execution_grp_name -l none -f  com.mns.ms.sap.IP1_PFT_1_VNDR_MNG_P104(Flow name with schema) -c 5000
    mqsichangetrace broker_name -u -e execution_grp_name -l debug -f com.mns.ms.sap.IP1_PFT_1_VNDR_MNG_P104(Flow name with schema) -c 5000
    mqsireadlog broker_name -u -e execution_grp_name -f -o trace.xml
    mqsiformatlog -i trace.xml -o formattrace.txt

阅读 formattrace.txt 文件并仅在此处发布最后一部分,因为该文件可能很大。

如果可能,在 HTTP 回复节点之前放置一个跟踪节点,并在跟踪节点的“模式”中提供:

${Root}
${Environment}

这应该为我们提供有关您的流程中正在发生的事情的足够信息。完成后,从跟踪文件中发布 Root 的值和环境值。

我认为您的标题详细信息有问题。

于 2013-02-01T10:41:51.453 回答