|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
AIX message flow problem |
« View previous topic :: View next topic » |
Author |
Message
|
aks |
Posted: Tue Mar 01, 2005 11:04 pm Post subject: AIX message flow problem |
|
|
Voyager
Joined: 19 Jul 2002 Posts: 84
|
I've deployed our message flows and message sets that we have been using on a Windows broker to an AIX broker (V5, CSD4) that we have set up, but none of the flows are working. When I put a trace node after the MQInput node, it shows that the MRM is empty, and what follows are lots of errors in the user trace because no XML elements could be accessed from the input XML message.
The MQMD is there, but no MRM content. The bar files are identical to those deployed on Windows. The "empty" message is being processed by nodes downstream, as I can see that a database lookup from a Compute node has worked OK.
Why would the MRM be empty? The flows and message sets deployed successfully. Is there something fundamentally different in deploying to AIX that I have overlooked?
Thanks
Alan |
|
Back to top |
|
 |
Craig B |
Posted: Wed Mar 02, 2005 12:16 am Post subject: |
|
|
Partisan
Joined: 18 Jun 2003 Posts: 316 Location: UK
|
Hi,
Unfortunately there isnt enough information here to diagnose your problem. You say that your flow generates errors, could you post what these errors are. _________________ Regards
Craig |
|
Back to top |
|
 |
aks |
Posted: Wed Mar 02, 2005 12:59 am Post subject: |
|
|
Voyager
Joined: 19 Jul 2002 Posts: 84
|
The user trace where the error is looks like this
2005-03-02 16:07:32.540779 5912 UserTrace BIP2537I: Node 'ZstreamXARateRequest.Validate': Executing statement 'CREATE LASTCHILD OF OutputRoot.XML DOMAIN 'MRM' PARSE(tempBlob, InputRoot.MQMD.Encoding, InputRoot.MQMD.CodedCharSetId, mrmId, 'ZstreamXA', 'XML');' at (.ValidateXML.main, 8.3).
2005-03-02 16:07:32.541393 5912 UserTrace BIP2538I: Node 'ZstreamXARateRequest.Validate': Evaluating expression 'tempBlob' at (.ValidateXML.main, 9.9).
2005-03-02 16:07:32.541450 5912 UserTrace BIP2538I: Node 'ZstreamXARateRequest.Validate': Evaluating expression 'BITOR(ValidateContent, ValidateException, ValidateComplete, ValidateFullConstraints)' at (.ValidateXML.main, 11.3).
2005-03-02 16:07:32.541473 5912 UserTrace BIP2538I: Node 'ZstreamXARateRequest.Validate': Evaluating expression 'ValidateContent' at (.ValidateXML.main, 11.9).
2005-03-02 16:07:32.541530 5912 UserTrace BIP2538I: Node 'ZstreamXARateRequest.Validate': Evaluating expression 'ValidateException' at (.ValidateXML.main, 11.26).
2005-03-02 16:07:32.541549 5912 UserTrace BIP2538I: Node 'ZstreamXARateRequest.Validate': Evaluating expression 'ValidateComplete' at (.ValidateXML.main, 11.45).
2005-03-02 16:07:32.541561 5912 UserTrace BIP2538I: Node 'ZstreamXARateRequest.Validate': Evaluating expression 'ValidateFullConstraints' at (.ValidateXML.main, 11.63).
2005-03-02 16:07:32.555587 5912 UserTrace BIP2539I: Node 'ZstreamXARateRequest.Validate': Finished evaluating expression 'BITOR(ValidateContent, ValidateException, ValidateComplete, ValidateFullConstraints)' at (.ValidateXML.main, 11.3). This resolved to 'BITOR(4096, 2048, 512, 128)'. The result was '6784'.
2005-03-02 16:07:32.555973 5912 UserTrace BIP2538I: Node 'ZstreamXARateRequest.Validate': Evaluating expression 'InputRoot.MQMD.Encoding' at (.ValidateXML.main, 12.12).
2005-03-02 16:07:32.555999 5912 UserTrace BIP2538I: Node 'ZstreamXARateRequest.Validate': Evaluating expression 'InputRoot.MQMD.CodedCharSetId' at (.ValidateXML.main, 12.42).
2005-03-02 16:07:32.556018 5912 UserTrace BIP2538I: Node 'ZstreamXARateRequest.Validate': Evaluating expression 'mrmId' at (.ValidateXML.main, 12.76).
2005-03-02 16:07:32.638954 5912 UserTrace BIP2231E: Error detected whilst processing a message 'ZstreamXARateRequest.ZstreamXA'.
The message broker detected an error whilst processing a message in node 'ZstreamXARateRequest.ZstreamXA'. The message has been augmented with an exception list and has been propagated to the node's failure terminal for further processing.
See the following messages for details of the error.
2005-03-02 16:07:32.638984 5912 RecoverableException BIP2230E: Error detected whilst processing a message in node 'ZstreamXARateRequest.Validate'.
The message broker detected an error whilst processing a message in node 'ZstreamXARateRequest.Validate'. An exception has been thrown to cut short the processing of the message.
See the following messages for details of the error.
2005-03-02 16:07:32.638996 5912 RecoverableException BIP2488E: (.ValidateXML.main, 8.3) Error detected whilst executing the SQL statement 'CREATE LASTCHILD OF OutputRoot.XML DOMAIN 'MRM' PARSE(tempBlob, InputRoot.MQMD.Encoding, InputRoot.MQMD.CodedCharSetId, mrmId, 'ZstreamXA', 'XML');'.
The message broker detected an error whilst executing the given statement. An exception has been thrown to cut short the SQL program.
See the following messages for details of the error.
2005-03-02 16:07:32.639007 5912 RecoverableException BIP2909E: (.ValidateXML.main, 8.3) : Exception throw whilst processing the CREATE statement
The CREATE statement has been unable to be completed due to an exception being thrown whilst evaluating the PARSE clause. . Additional information available is: 'CREATE LASTCHILD OF OutputRoot.XML DOMAIN 'MRM' PARSE(tempBlob, InputRoot.MQMD.Encoding, InputRoot.MQMD.CodedCharSetId, mrmId, 'ZstreamXA', 'XML');'
You should check for other messages issued with this one for the full context of this error.
2005-03-02 16:07:32.639030 5912 ParserException BIP5347E: MtiImbParser2: RM has thrown an unknown exception.
Returned by the RM when an unknown exception is thrown. This is an internal error.
Shutdown and restart the message broker. If the problem continues to occur, then restart the system. If the problem still continues to occur contact your IBM support center providing system trace files where possible.
===============================================
Even if I take out this node which attempts to validate the incoming XML, it fails on the next node in trying to access an XML element - probably because the MRM is empty
The Trace node for AIX produces this
(
(0x01000000):Properties = (
(0x03000000):MessageSet = 'K1UR628002001'
(0x03000000):MessageType = 'ZstreamXA'
(0x03000000):MessageFormat = 'XML'
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 819
(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2005-03-02 06:36:58.900'
(0x03000000):ExpirationTime = GMTTIMESTAMP '2005-03-02 07:37:21.016598'
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'ZSTREAMXA.MQSI.RATE.REQUEST'
(0x03000000):Transactional = FALSE
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 819
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 192
(0x03000000):MsgType = 8
(0x03000000):Expiry = GMTTIMESTAMP '2005-03-02 07:37:21.016598'
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d5120514d424b4149582020202020422409fe20003601'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = 'ZSTREAMXA.REPLY '
(0x03000000):ReplyToQMgr = 'QMBKAIX '
(0x03000000):UserIdentifier = ' '
(0x03000000):AccountingToken = X'0000000000000000000000000000000000000000000000000000000000000000'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 28
(0x03000000):PutApplName = ' '
(0x03000000):PutDate = DATE '2005-03-02'
(0x03000000):PutTime = GMTTIME '06:36:58.900'
(0x03000000):ApplOriginData = 'MQI '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000021):MRM =
For Windows, the Trace node has the MRM:
(
(0x01000000):Properties = (
(0x03000000):MessageSet = 'K1UR628002001'
(0x03000000):MessageType = 'ZstreamXA'
(0x03000000):MessageFormat = 'XML'
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 819
(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2005-03-02 05:49:36.520'
(0x03000000):ExpirationTime = GMTTIMESTAMP '2005-03-02 05:50:36.534'
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'ZSTREAMXA.MQSI.RATE.REQUEST'
(0x03000000):Transactional = FALSE
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 819
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 192
(0x03000000):MsgType = 8
(0x03000000):Expiry = GMTTIMESTAMP '2005-03-02 05:50:36.534'
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d5120514d424b3120202020202020bf51254220000901'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = 'ZSTREAMXA.REPLY '
(0x03000000):ReplyToQMgr = 'QMBK1 '
(0x03000000):UserIdentifier = ' '
(0x03000000):AccountingToken = X'0000000000000000000000000000000000000000000000000000000000000000'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 28
(0x03000000):PutApplName = ' '
(0x03000000):PutDate = DATE '2005-03-02'
(0x03000000):PutTime = GMTTIME '05:49:36.520'
(0x03000000):ApplOriginData = 'MQI '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000021):MRM = (
(0x01000013):Header = (
(0x0300000B):MessageVersion = '1.0'
(0x0300000B):Source = 'String'
(0x0300000B):Destination = 'String'
(0x0300000B):MessageID = 'Text'
(0x0300000B):UniqueReference = 'Alan K Stewart'
(0x0300000B):SessionReference = 'String'
(0x0300000B):Timestamp = TIMESTAMP '2001-12-17 09:30:47'
(0x01000013):Request = (
(0x0300000B):Command = 'Rate'
(0x0300000B):Type = 'NewBusiness'
(0x0300000B):Code = 'FIR'
)
)
(0x01000013):Rating = (
(0x0300000B):CompanyNumber = '2'
(0x0300000B):ProductType = 'GLG'
(0x01000013):Intermediary = (
(0x0300000B):Name = 'String'
(0x0300000B):ID = 'String'
(0x01000013):Account = (
(0x0300000B):BranchID = '23'
(0x0300000B):AccountNumber = '2018000'
)
)
.... (truncated here as it is very long)
Thanks
Alan |
|
Back to top |
|
 |
Craig B |
Posted: Wed Mar 02, 2005 1:47 am Post subject: |
|
|
Partisan
Joined: 18 Jun 2003 Posts: 316 Location: UK
|
Hi,
Your flow is receiving a BIP5347E exception from the MRM resource manager. This is usually thrown when the MRM cannot access the broker database to retrieve its messageSet. On the AIX platform, by default there are only 10 shared memory connections allows from a process to DB2. It is likely that you are hitting this limit and this is why you get the BIP5347E exception.
The following line http://www.mqseries.net/phpBB2/viewtopic.php?t=20644 will tell you how to resolve this.
Hope this helps. _________________ Regards
Craig |
|
Back to top |
|
 |
aks |
Posted: Wed Mar 02, 2005 1:57 am Post subject: |
|
|
Voyager
Joined: 19 Jul 2002 Posts: 84
|
Thanks Craig. My AIX login does not appear to have access to stop DB2. I will get the DBA to do this work tomorrow morning and will post a response.
Alan |
|
Back to top |
|
 |
aks |
Posted: Wed Mar 02, 2005 2:43 am Post subject: |
|
|
Voyager
Joined: 19 Jul 2002 Posts: 84
|
Was able to execute the commands as per the link. All works now.
Thanks once again
Alan |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|