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 » Message set parsing issue

Post new topic  Reply to topic
 Message set parsing issue « View previous topic :: View next topic » 
Author Message
Jenney
PostPosted: Fri Feb 29, 2008 8:46 am    Post subject: Message set parsing issue Reply with quote

Voyager

Joined: 25 Apr 2007
Posts: 83
Location: Melbourne

Hi,

We have Brk V6, on win. I have created a message set for CWF input message which Brk is suppose to convert to XML.

I have some repeating elements as stated below, and this Information element repeats 4 times all together.

Information Min Occ = 4, Max occur=4
FactorLine Min Occ = 4, Max occur=4
FactorLine1 Min Occ = 1, Max occur=1
FactorLine2 Min Occ = 1, Max occur=1
FactorLine3 Min Occ = 1, Max occur=1
SFactor Min Occ = 4, Max occur=4

Quote:

Information
FactorLine
FactorLine1 = TESTFactorLine1
FactorLine2 = TESTFactorLine2
FactorLine3 = TESTFactorLine3
FactorLine
FactorLine1 = TESTFactorLine1
FactorLine2 = TESTFactorLine2
FactorLine3 = TESTFactorLine3
FactorLine
FactorLine1 = TESTFactorLine1
FactorLine2 = TESTFactorLine2
FactorLine3 = TESTFactorLine3
FactorLine
FactorLine1 = TESTFactorLine1
FactorLine2 = TESTFactorLine2
FactorLine3 = TESTFactorLine3
SFactor=
SFactor=
SFactor=
SFactor=


Broker gives error while processing the FactorLine2 in the last itteration of Information (4th itteration)>FactorLine (4th itteration). Which i don't understand how to resolve, Incomming message looks good to me.

This message worked 15 days ealier and now i am seeing this error. I recreated the message set but still it fails at the same point.
Quote:
CWFWorker::ReadDataFromBitstream - CPI Text Buffer Input Data Too Short

Any idea what's happening, any inputs will be a great help.

thanks
Jen
Back to top
View user's profile Send private message
kimbert
PostPosted: Sun Mar 02, 2008 3:27 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You could temporarily extend the input message by a few characters until you get a successful parse. Then look at the resulting message tree ( debugger or Trace node ) and see what went wrong.
If other messages in the same format are parsing OK, check for code page issues (e.g. multi-byte characters )
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Mar 02, 2008 5:08 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

kimbert wrote:
You could temporarily extend the input message by a few characters until you get a successful parse. Then look at the resulting message tree ( debugger or Trace node ) and see what went wrong.
If other messages in the same format are parsing OK, check for code page issues (e.g. multi-byte characters )

Check as well for ftp issues on messages built from a file.
If ftp'd in binary form for a text content you might get this message or it's opposite (stream too short/not all data on stream needed). It has to do with the carriage line feed not being the same length depending on the environment (1 byte vs 2 bytes)

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message set parsing issue
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.