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 » IBM MQ Java / JMS » Missing messages on Queue

Post new topic  Reply to topic
 Missing messages on Queue « View previous topic :: View next topic » 
Author Message
smiller0210
PostPosted: Mon Nov 24, 2003 5:30 pm    Post subject: Missing messages on Queue Reply with quote

Newbie

Joined: 24 Nov 2003
Posts: 2

Hi I'm new to MQ (just did the MQ programming course MQ05 last week) and I've already hit a problem. I'm using the MQSeries base Java to connect to MQSeries via a TCP/IP connection over the network. I have set-up a queue (depth of 5000), a channel and a listener for port 1414. I can send messages to the queue and get them off no problems at all. The problem is when I try to send more then 48 messages only the first 48 messages appear on the queue and the others disappear. They don't even arrive on the dead letter queue!! This stops me adding more messages to the queue until I remove some of them. The network is up and running fine and what makes this really strange is that earlier in the day I could add 1000 messages to the queue with no problems at all. I have also tried sending them via a different port (8083) but still have the same results. Any ideas would be greatly appreciated

Cheers

Steve
Back to top
View user's profile Send private message
mqonnet
PostPosted: Tue Nov 25, 2003 6:04 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Always the first place to look for errors is the error logs. Check to see if there are any messages posted to it when you get into this state.

Whats the size of messages. Make sure that you are not hitting the system limit somehow.

Are you putting/getting messages within a Unit of work using Syncpoint. If so, when do you commit. I mean after how many messages do you commit. Some systems(O/s) have a transactional limits. Are you using XA or any other transaction co-ordinator. Verify their limits.

How do you know that its the 1st 48 messages for sure. Could it not be possible that while messages are being put, they are being got as well simultaneously.

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
maxis
PostPosted: Tue Nov 25, 2003 10:52 am    Post subject: Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

welcome to msging world ...


Quote:
when I try to send more then 48 messages only the first 48 messages appear on the queue and the others disappear. They don't even arrive on the dead letter queue!! This stops me adding more messages to the queue until I remove some of them.


whats the error code / exception youre getting ? ..
can it be a simple java coding problem ..



M
Back to top
View user's profile Send private message
smiller0210
PostPosted: Tue Nov 25, 2003 7:47 pm    Post subject: Reply with quote

Newbie

Joined: 24 Nov 2003
Posts: 2

Thanks for your replies. I have discovered the problem For some reason when looking at the message on the queue (MQ is running on an AS400) the AS400 will only let you see 48 messages. When I check the queue depth I can see that there are in fact 1000 (or whatever I put there) messages on the queue. I can even get all the messages of the queue again. I'm not an AS400 person so I'm going to check with someone that knows a bit more about it then me to see what they say. Either way it's crisis over

Thanks again

Steve
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 » IBM MQ Java / JMS » Missing messages on Queue
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.