Posted: Wed Oct 06, 2004 7:35 am Post subject: Improper Segment Breakup
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.
Posted: Wed Oct 06, 2004 10:25 am Post subject: Re: Improper Segment Breakup
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.
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