ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Urgent: Still problems with choices. Please help!

Post new topic  Reply to topic
 Urgent: Still problems with choices. Please help! « View previous topic :: View next topic » 
Author Message
neval
PostPosted: Tue Dec 10, 2002 12:38 am    Post subject: Urgent: Still problems with choices. Please help! Reply with quote

Novice

Joined: 20 Nov 2002
Posts: 14

Hi,

as we posted before. we have some problems with choice compound types. We use WMQI 2.1 with CSD03 on NT-Server. We generate our
message sets via importing Cobol copybooks. In one case we have
a message with the following template:

Message X:
Element1
Choice-Element
- Alternative1
- Alternative2

Whenever we send a message (in CWF) with Alternative1 the flow works
as expected. But if we send the a message with Alternative2 we get the following exception (buffer overflow):


(0x1000000)RecoverableException = (
(0x3000000)File = 'F:\build\S210_P\src\DataFlowEngine\ImbComputeNode.cpp'
(0x3000000)Line = 453
(0x3000000)Function = 'ImbComputeNode::evaluate'
(0x3000000)Type = 'ComIbmComputeNode'
(0x3000000)Name = 'c22f29ca-f100-0000-0080-c3aea3c99bd3'
(0x3000000)Label = 'PARTNER_ANTWORT.PARTNER_OHNE_RG_DATEN'
(0x3000000)Text = 'Caught exception and rethrowing'
(0x3000000)Catalog = 'WMQIv210'
(0x3000000)Severity = 3
(0x3000000)Number = 2230
(0x1000000)ParserException = (
(0x3000000)File = 'F:\build\S210_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp'
(0x3000000)Line = 511
(0x3000000)Function = 'MtiImbParser::parseRightSibling'
(0x3000000)Type = 'ComIbmMQInputNode'
(0x3000000)Name = '7fe8ec86-f100-0000-0080-efdee2dab19b'
(0x3000000)Label = 'PARTNER_ANTWORT.HOST_IN'
(0x3000000)Text = 'ImbRecoverableException caught from worker->parseNext.'
(0x3000000)Catalog = 'WMQIv210'
(0x3000000)Severity = 3
(0x3000000)Number = 5285
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'WebEnabling'
)
(0x1000000)Insert = (
(0x3000000)Type = 2
(0x3000000)Text = '1'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'CWF'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'PARTNER_ANTW'
)
(0x1000000)ParserException = (
(0x3000000)File = 'F:\build\S210_P\src\cpi\pwf\cwf\cwfworker.cpp'
(0x3000000)Line = 203
(0x3000000)Function = 'CWFWorker::parseNext'
(0x3000000)Type = ''
(0x3000000)Name = ''
(0x3000000)Label = ''
(0x3000000)Text = 'CWF Parsing error'
(0x3000000)Catalog = 'WMQIv210'
(0x3000000)Severity = 3
(0x3000000)Number = 5171
(0x1000000)Insert = (
(0x3000000)Type = 2
(0x3000000)Text = '0'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'CWFWorker::parseNext'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'PARTNER_ANTW'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'PARTNER_DATEN_GENERISCH'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = '/PARTNER_ANTW'
)
(0x1000000)Insert = (
(0x3000000)Type = 2
(0x3000000)Text = '400'
)
(0x1000000)ParserException = (
(0x3000000)File = 'F:\build\S210_P\src\cpi\pwf\cwf\cwfreader.cpp'
(0x3000000)Line = 496
(0x3000000)Function = 'CWFWorker::getBufferData'
(0x3000000)Type = ''
(0x3000000)Name = ''
(0x3000000)Label = ''
(0x3000000)Text = 'CWF Read Buffer Overflow'
(0x3000000)Catalog = 'WMQIv210'
(0x3000000)Severity = 3
(0x3000000)Number = 5181
(0x1000000)Insert = (
(0x3000000)Type = 2
(0x3000000)Text = '0'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'CWFWorker::getBufferData'
)
(0x1000000)Insert = (
(0x3000000)Type = 5
(0x3000000)Text = 'PARTNER_DATEN_GENERISCH'
)
)
)
)
)
)



To find a possible data length/coding error we test the following
modified message and it works. So our message is in the right format
and length:

Message X:
Element1
Choice-Element
- Alternative2

Please help because we are in a time critical situation. Thanks for your support.
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Dec 10, 2002 8:31 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Hi Neval,

I would first check the length for Alternative1 and Alternative2 to see if they match. What CSD level you are at?
_________________
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
View user's profile Send private message Visit poster's website
neval
PostPosted: Tue Dec 10, 2002 9:27 am    Post subject: Reply with quote

Novice

Joined: 20 Nov 2002
Posts: 14

Hi Kirani,

we use CSD03. If we delete Alternative1 in the choice element the
flow works. So we can exlude errors based on length I think.
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Dec 10, 2002 10:03 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Well, it works because there is only one element in the choice type, so the input message will always resolve into Alternative2 choice, correct? I'd similar problems, eveything worked fine after I made sure the lengths for both choice elements are same.
_________________
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
View user's profile Send private message Visit poster's website
neval
PostPosted: Wed Dec 11, 2002 4:22 am    Post subject: Reply with quote

Novice

Joined: 20 Nov 2002
Posts: 14

Hi Kirani,

I have tried to set both Alternative1 and Alternative2 to the same length
but it does not work because the incoming message have different length.
I saw the entry, that you suggested regarding RCD nodes. Now I've replaced the choice message with to separate messages and use RCD nodes to set the right types. It works this way.

Thanks for your help!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Urgent: Still problems with choices. Please help!
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.