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 » \0 appearing in a output message from a message flow

Post new topic  Reply to topic
 \0 appearing in a output message from a message flow « View previous topic :: View next topic » 
Author Message
ydsk
PostPosted: Tue May 31, 2005 12:17 pm    Post subject: \0 appearing in a output message from a message flow Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Hi

I am experiencing a strange problem that too occasionally on a broker on AIX.

I am using the same xml input message every time but sometimes it results in a part of the message becoming binary zeroes like....<Customer><Value>12345</Val\0\0\0\0\0Customer>......

The same message works fine many times but fails sometimes resulting in the above output. Pls note the part of the closing tags 'Value' and 'Customer' becoming '\0'.

Has anyone faced this problem earlier ? Pls let me know.

Appreciate any clues/pointers.

Thanks.
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Wed Jun 01, 2005 3:26 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Hi,
If the \0 appears in the position you are talking about then the XML is badly formed and the message flow should be throwing an exception and you should not be getting any output message.
Is this the case or you are actually getting the message as shown in the output queue ?
If possible you can post the code that constructs this message.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
ydsk
PostPosted: Wed Jun 01, 2005 1:07 pm    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Hi,

We are using some third party tools to put messages onto the message broker, and maybe they are causing some problem. Will get back to the forum after looking more into the issue.

Thank you.
Back to top
View user's profile Send private message
ydsk
PostPosted: Wed Jun 01, 2005 1:11 pm    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

It's a part of the output message that I have shown above, not the input. The input xml is fine. The \0 are appearing in the output.
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Wed Jun 01, 2005 11:52 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

How are you viewing the xml files ? On Windows or AIX. You may wish to put a file trace before your output node to see exactly what is being sent to the output node. If possible you may post the file trace.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
ydsk
PostPosted: Thu Jun 02, 2005 6:45 am    Post subject: Reply with quote

Chevalier

Joined: 23 May 2005
Posts: 410

Hi,
It looks like it is throwing an exception but we are handling most of the exceptions ourselves in the esql code.

Will post more on this later. Currently busy with some other issues of higher priority.

Meanwhile if any of you have any clues, please post them.

Thanks in advance for the 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 » \0 appearing in a output message from a message flow
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.