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 » General IBM MQ Support » Improper Segment Breakup

Post new topic  Reply to topic
 Improper Segment Breakup « View previous topic :: View next topic » 
Author Message
tnana
PostPosted: Wed Oct 06, 2004 7:35 am    Post subject: Improper Segment Breakup Reply with quote

Novice

Joined: 06 Oct 2004
Posts: 14

Hi

We have a working Java program that reads files and loads them on queue.
Files larger than 4 Mb are broken into segments of 4 Mb each by the code.
The configuration is Windows NT server + MQSeries 5.2.1 + Java 1.3

Now we are testing same program on Win2003 + MQSeries 5.3 + Java 1.4

For a file larger than 4 Mb (but less than 8 Mb), the first segment is only
4194128 bytes long (instead of 4194304).

Then there is a segment of 176 bytes. The Message ID for this segment is garbled.

The last segment appears Ok.

Any help will be appreciated.

TIA
Back to top
View user's profile Send private message
tnana
PostPosted: Wed Oct 06, 2004 10:25 am    Post subject: Re: Improper Segment Breakup Reply with quote

Novice

Joined: 06 Oct 2004
Posts: 14

tnana wrote:

For a file larger than 4 Mb (but less than 8 Mb), the first segment is only
4194128 bytes long (instead of 4194304).

Then there is a segment of 176 bytes. The Message ID for this segment is garbled.



Looks like some bug. The maximum message length was also set to 4194304. The segment is breaking properly by setting it to 4194305.

Issue with base of counting (0 or 1) ?
With segment length same as maximum message length, MQ is breaking the message in segments. It cannot figure out ID for the second segment and hence it's garbled.
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 » General IBM MQ Support » Improper Segment Breakup
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.