Author |
Message
|
LH33 |
Posted: Fri Aug 15, 2003 11:00 am Post subject: Route To Error |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
I am getting a BIP 4240 error. I have a Compute node to set Route To Labels which has the following code:
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[1].labelName = 'CompleteFlow';
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[2].labelName = FIELDNAME(InputRoot.XML.*[1]);
I have the LocalEnvironmentAndMessage checked on the advanced tab. I have Label nodes that match the value of FIELDNAME(InputRoot.XML.*[1]); I have checked the spelling of the label node and for extra spaces. My Route To Label1 is set to Route To Last.
When I try to run a mesage through with FIELDNAME(InputRoot.XML.*[1])
= 'Omshb', I get a BIP 4240. Can someone help with what I am doing wrong? I have a trace node after setting the label which shows the following:
Root
(
(0x1000000)Properties = (
(0x3000000)MessageSet = ''
(0x3000000)MessageType = ''
(0x3000000)MessageFormat = ''
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Transactional = TRUE
(0x3000000)Persistence = TRUE
(0x3000000)CreationTime = GMTTIMESTAMP '2003-08-15 18:45:38.420'
(0x3000000)ExpirationTime = -1
(0x3000000)Priority = 0
(0x3000000)ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x3000000)ReplyProtocol = 'MQ'
(0x3000000)Topic = NULL
)
(0x1000000)MQMD = (
(0x3000000)SourceQueue = 'DSPCH_OMS_DATA'
(0x3000000)Transactional = TRUE
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Format = 'MQSTR '
(0x3000000)Version = 2
(0x3000000)Report = 0
(0x3000000)MsgType = 8
(0x3000000)Expiry = -1
(0x3000000)Feedback = 0
(0x3000000)Priority = 0
(0x3000000)Persistence = 1
(0x3000000)MsgId = X'414d51204745544d513120202020202050453a3f1200d802'
(0x3000000)CorrelId = X'000000000000000000000000000000000000000000000000'
(0x3000000)BackoutCount = 0
(0x3000000)ReplyToQ = ' '
(0x3000000)ReplyToQMgr = 'GETMQ1 '
(0x3000000)UserIdentifier = 'MTSRUN_MQ '
(0x3000000)AccountingToken = X'1601051500000008691451fa547e13c811bf7b421f000000000000000000000b'
(0x3000000)ApplIdentityData = ' '
(0x3000000)PutApplType = 11
(0x3000000)PutApplName = ':\WINNT\System32\dllhost.exe'
(0x3000000)PutDate = DATE '2003-08-15'
(0x3000000)PutTime = GMTTIME '18:45:38.420'
(0x3000000)ApplOriginData = ' '
(0x3000000)GroupId = X'000000000000000000000000000000000000000000000000'
(0x3000000)MsgSeqNumber = 1
(0x3000000)Offset = 0
(0x3000000)MsgFlags = 0
(0x3000000)OriginalLength = -1
)
(0x1000010)XML = (
(0x1000000)Omshb = (
(0x3000000)environment = 'Test'
(0x3000000)revision = '1.0.0'
(0x2000000) = '
'
(0x1000000)ApplicationArea = (
(0x2000000) = '
'
(0x1000000)Sender = (
(0x2000000) = '
'
(0x1000000)Component = (
(0x2000000) = 'OMS'
)
(0x2000000) = '
'
(0x1000000)Confirmation = (
(0x2000000) = 'Always'
)
(0x2000000) = '
'
(0x1000000)AuthorizationId = (
(0x2000000) = 'OMS Interface'
)
(0x2000000) = '
'
)
(0x2000000) = '
'
(0x1000000)CreationDateTime = (
(0x2000000) = '2003-08-13T13:19:16'
)
(0x2000000) = '
'
(0x1000000)BODId = (
(0x2000000) = '{CC9AFFF3-D6BB-4C2D-8D2C-6AD42E4CB3D4}'
)
(0x2000000) = '
'
)
(0x2000000) = '
'
)
(0x6000002) = '
'
)
)
ExceptionList
DestinationList
(
(0x1000000)Destination = (
(0x1000000)RouterList = (
(0x1000000)DestinationData = (
(0x3000000)labelName = 'CompleteFlow'
)
(0x1000000)DestinationData = (
(0x3000000)labelName = 'Omshb'
)
)
)
)
LocalEnvironment
(
(0x1000000)Destination = (
(0x1000000)RouterList = (
(0x1000000)DestinationData = (
(0x3000000)labelName = 'CompleteFlow'
)
(0x1000000)DestinationData = (
(0x3000000)labelName = 'Omshb'
)
)
)
)
Here is my input XML:
<Omshb environment="Test" revision="1.0.0">
<ApplicationArea>
<Sender>
<Component>OMS</Component>
<Confirmation>Always</Confirmation>
<AuthorizationId>OMS Interface</AuthorizationId>
</Sender>
<CreationDateTime>2003-08-13T13:19:16</CreationDateTime>
<BODId>{CC9AFFF3-D6BB-4C2D-8D2C-6AD42E4CB3D4}</BODId>
</ApplicationArea>
</Omshb> |
|
Back to top |
|
 |
EddieA |
Posted: Fri Aug 15, 2003 11:54 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Try this:
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[1].labelname = 'CompleteFlow';
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[2].labelname = FIELDNAME(InputRoot.XML.*[1]);
That's labelname ALL in lower case.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
LH33 |
Posted: Fri Aug 15, 2003 12:11 pm Post subject: |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
Hi! I tried setting LabelName to all lower case and it still did not work. Any other suggestions? |
|
Back to top |
|
 |
kirani |
Posted: Fri Aug 15, 2003 12:59 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Could you please post your complete exceptionlist here? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
LH33 |
Posted: Sat Aug 16, 2003 7:16 am Post subject: |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
Kiran,
This is what is in my trace node:
Root
${Root}
ExceptionList
${ExceptionList}
DestinationList
${DestinationList}
LocalEnvironment
${LocalEnvironment}
Here is the entire contents of theTrace node. I'm not sure why the ExceptionList is showing as empty. Thanks for your help!
Root
(
(0x1000000)Properties = (
(0x3000000)MessageSet = ''
(0x3000000)MessageType = ''
(0x3000000)MessageFormat = ''
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Transactional = TRUE
(0x3000000)Persistence = TRUE
(0x3000000)CreationTime = GMTTIMESTAMP '2003-08-16 15:06:53.210'
(0x3000000)ExpirationTime = -1
(0x3000000)Priority = 0
(0x3000000)ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x3000000)ReplyProtocol = 'MQ'
(0x3000000)Topic = NULL
)
(0x1000000)MQMD = (
(0x3000000)SourceQueue = 'DSPCH_OMS_DATA'
(0x3000000)Transactional = TRUE
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Format = 'MQSTR '
(0x3000000)Version = 2
(0x3000000)Report = 0
(0x3000000)MsgType = 8
(0x3000000)Expiry = -1
(0x3000000)Feedback = 0
(0x3000000)Priority = 0
(0x3000000)Persistence = 1
(0x3000000)MsgId = X'414d51204745544d513120202020202050453a3f1200e003'
(0x3000000)CorrelId = X'000000000000000000000000000000000000000000000000'
(0x3000000)BackoutCount = 0
(0x3000000)ReplyToQ = ' '
(0x3000000)ReplyToQMgr = 'GETMQ1 '
(0x3000000)UserIdentifier = 'MTSRUN_MQ '
(0x3000000)AccountingToken = X'1601051500000008691451fa547e13c811bf7b421f000000000000000000000b'
(0x3000000)ApplIdentityData = ' '
(0x3000000)PutApplType = 11
(0x3000000)PutApplName = ':\WINNT\System32\dllhost.exe'
(0x3000000)PutDate = DATE '2003-08-16'
(0x3000000)PutTime = GMTTIME '15:06:53.210'
(0x3000000)ApplOriginData = ' '
(0x3000000)GroupId = X'000000000000000000000000000000000000000000000000'
(0x3000000)MsgSeqNumber = 1
(0x3000000)Offset = 0
(0x3000000)MsgFlags = 0
(0x3000000)OriginalLength = -1
)
(0x1000010)XML = (
(0x1000000)Omshb = (
(0x3000000)environment = 'Test'
(0x3000000)revision = '1.0.0'
(0x2000000) = '
'
(0x1000000)ApplicationArea = (
(0x2000000) = '
'
(0x1000000)Sender = (
(0x2000000) = '
'
(0x1000000)Component = (
(0x2000000) = 'OMS'
)
(0x2000000) = '
'
(0x1000000)Confirmation = (
(0x2000000) = 'Always'
)
(0x2000000) = '
'
(0x1000000)AuthorizationId = (
(0x2000000) = 'OMS Interface'
)
(0x2000000) = '
'
)
(0x2000000) = '
'
(0x1000000)CreationDateTime = (
(0x2000000) = '2003-08-13T13:19:16'
)
(0x2000000) = '
'
(0x1000000)BODId = (
(0x2000000) = '{CC9AFFF3-D6BB-4C2D-8D2C-6AD42E4CB3D4}'
)
(0x2000000) = '
'
)
(0x2000000) = '
'
)
(0x6000002) = '
'
)
)
ExceptionList
DestinationList
(
(0x1000000)Destination = (
(0x1000000)RouterList = (
(0x1000000)DestinationData = (
(0x3000000)labelname = 'CompleteFlow'
)
(0x1000000)DestinationData = (
(0x3000000)labelname = 'Omshb'
)
)
)
)
LocalEnvironment
(
(0x1000000)Destination = (
(0x1000000)RouterList = (
(0x1000000)DestinationData = (
(0x3000000)labelname = 'CompleteFlow'
)
(0x1000000)DestinationData = (
(0x3000000)labelname = 'Omshb'
)
)
)
) |
|
Back to top |
|
 |
kirani |
Posted: Sat Aug 16, 2003 9:50 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I want to see the trace file with BIP4240 error, which will be printed in your catch path of Try-catch node or the MQInput node. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
LH33 |
Posted: Sun Aug 17, 2003 6:12 am Post subject: |
|
|
Master
Joined: 21 Nov 2002 Posts: 200
|
Kiran,
I have an input node, then a trace node, then a Compute node to set the labels (as shown above), then another trace node after the labels are set (also shown above).
I added a trace node off the Catch terminal of the Input node with the following in it:
Destination = File
File Path = f:\trace share\OMSTOMDSCATCH.txt
Pattern:
Root
${Root}
ExceptionList
${ExceptionList}
DestinationList
${DestinationList}
LocalEnvironment
${LocalEnvironment}
Here are the results of the new Trace node:
Root
(
(0x1000000)Properties = (
(0x3000000)MessageSet = ''
(0x3000000)MessageType = ''
(0x3000000)MessageFormat = ''
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Transactional = TRUE
(0x3000000)Persistence = TRUE
(0x3000000)CreationTime = GMTTIMESTAMP '2003-08-17 13:54:41.680'
(0x3000000)ExpirationTime = -1
(0x3000000)Priority = 0
(0x3000000)ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x3000000)ReplyProtocol = 'MQ'
(0x3000000)Topic = NULL
)
(0x1000000)MQMD = (
(0x3000000)SourceQueue = 'DSPCH_OMS_DATA'
(0x3000000)Transactional = TRUE
(0x3000000)Encoding = 546
(0x3000000)CodedCharSetId = 437
(0x3000000)Format = 'MQSTR '
(0x3000000)Version = 2
(0x3000000)Report = 0
(0x3000000)MsgType = 8
(0x3000000)Expiry = -1
(0x3000000)Feedback = 0
(0x3000000)Priority = 0
(0x3000000)Persistence = 1
(0x3000000)MsgId = X'414d51204745544d513120202020202050453a3f12a00605'
(0x3000000)CorrelId = X'000000000000000000000000000000000000000000000000'
(0x3000000)BackoutCount = 0
(0x3000000)ReplyToQ = ' '
(0x3000000)ReplyToQMgr = 'GETMQ1 '
(0x3000000)UserIdentifier = 'MTSRUN_MQ '
(0x3000000)AccountingToken = X'1601051500000008691451fa547e13c811bf7b421f000000000000000000000b'
(0x3000000)ApplIdentityData = ' '
(0x3000000)PutApplType = 11
(0x3000000)PutApplName = ':\WINNT\System32\dllhost.exe'
(0x3000000)PutDate = DATE '2003-08-17'
(0x3000000)PutTime = GMTTIME '13:54:41.680'
(0x3000000)ApplOriginData = ' '
(0x3000000)GroupId = X'000000000000000000000000000000000000000000000000'
(0x3000000)MsgSeqNumber = 1
(0x3000000)Offset = 0
(0x3000000)MsgFlags = 0
(0x3000000)OriginalLength = -1
)
(0x1000010)XML = (
(0x1000000)Omshb = (
(0x3000000)environment = 'Test'
(0x3000000)revision = '1.0.0'
(0x2000000) = '
'
(0x1000000)ApplicationArea = (
(0x2000000) = '
'
(0x1000000)Sender = (
(0x2000000) = '
'
(0x1000000)Component = (
(0x2000000) = 'OMS'
)
(0x2000000) = '
'
(0x1000000)Confirmation = (
(0x2000000) = 'Always'
)
(0x2000000) = '
'
(0x1000000)AuthorizationId = (
(0x2000000) = 'OMS Interface'
)
(0x2000000) = '
'
)
(0x2000000) = '
'
(0x1000000)CreationDateTime = (
(0x2000000) = '2003-08-13T13:19:16'
)
(0x2000000) = '
'
(0x1000000)BODId = (
(0x2000000) = '{CC9AFFF3-D6BB-4C2D-8D2C-6AD42E4CB3D4}'
)
(0x2000000) = '
'
)
(0x2000000) = '
'
)
(0x6000002) = '
'
)
)
ExceptionList
(
(0x1000000)RecoverableException = (
(0x3000000)File = 'F:\build\S210_P\src\DataFlowEngine\BasicNodes\ImbRouterNode.cpp'
(0x3000000)Line = 284
(0x3000000)Function = 'ImbRouterNode::evaluate'
(0x3000000)Type = '45afc079-f500-0000-0080-83480914a757'
(0x3000000)Name = '45afc079-f500-0000-0080-83480914a757'
(0x3000000)Label = 'OMSTOMDS.RouteToLabel5'
(0x3000000)Text = 'Caught exception and rethrowing'
(0x3000000)Catalog = 'WMQIv210'
(0x3000000)Severity = 3
(0x3000000)Number = 2230
(0x1000000)RecoverableException = (
(0x3000000)File = 'F:\build\S210_P\src\DataFlowEngine\BasicNodes\ImbRouterNode.cpp'
(0x3000000)Line = 260
(0x3000000)Function = 'ImbRouterNode::evaluate'
(0x3000000)Type = '45afc079-f500-0000-0080-83480914a757'
(0x3000000)Name = '45afc079-f500-0000-0080-83480914a757'
(0x3000000)Label = 'OMSTOMDS.RouteToLabel5'
(0x3000000)Text = 'Invalid label name'
(0x3000000)Catalog = 'WMQIv210'
(0x3000000)Severity = 3
(0x3000000)Number = 4240
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = ''
)
)
)
)
DestinationList
LocalEnvironment
I'm not sure why it's saying "Invalid Label Name". It matches the Property Label Name of 'Omshb'. Thanks for your help! |
|
Back to top |
|
 |
|