Author |
Message
|
mq_crazy |
Posted: Wed Sep 22, 2004 10:18 am Post subject: problem with subscriber queue...... |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
I have MQ 5.3 CSD07 on win 2k, my application supposed to get messages from the queue SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE for the confirmation, but the messages will be sitting in the queue and won't be processed right away, they will process sometime later and my application is getting a timeout, is there anything in the queue thats causing problem??? i don't see any errors on mq. urgent please |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 22, 2004 10:30 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
What are you using for a broker? Are you sure that the messages are intended for this particular subscriber? Are you using durable or non-durable subscribers? When you say that get processed some time later, does this mean your program ends and restarts? |
|
Back to top |
|
 |
mq_crazy |
Posted: Wed Sep 22, 2004 11:17 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
hey thanks a lot for your reply, i am pretty new to mq, its just a mq broker downloaded from ibm, they are intended for particular subscriber as the right application picks them up, but sometimes it delays even the messages are there in queue. what is durable and non durable?? the program won't restart. I hope i answered all your questions, please help me here to figure out the issue.... thanks a million |
|
Back to top |
|
 |
mq_crazy |
Posted: Wed Sep 22, 2004 12:51 pm Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
is there any trace on mq that i can do to check where the problem is????? |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 22, 2004 1:14 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I'm guessing that your downloaded broker is SupportPac MA0C? How do you start it? Durable subscribers mean that the subscriber program can end, come back later, and get all of the subscriptions that were published while it was away. Non-durable subscribers only get the subscriptions while they are running. |
|
Back to top |
|
 |
mq_crazy |
Posted: Wed Sep 22, 2004 2:02 pm Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
you are right its mq support pac MAOC. The broker starts automatically when the system starts, i don't know whether my it is durable or nondurable. Is there any trace i can do on Mq to see if its not giving messages to the application???? |
|
Back to top |
|
 |
waugh |
Posted: Thu Sep 23, 2004 5:36 am Post subject: |
|
|
 Master
Joined: 19 Feb 2004 Posts: 225
|
is that receiving application is a custom built or a vendor application?
looks like durable or non-durable is a swtich you use while calling the application. You might want to search for "durable subscribers" on search area of this website to see how you can set that switch or the documentation of that supportpac. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Sep 23, 2004 5:41 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You could certainly turn on tracing and see what it shows. However, the trace files makes calls to various internal functions and deciphering them may not be an easy thing for you to do. Usually if it comes to taking a trace, you need to call IBM support.
As far as durable or non-durable, I was only interested if you were seeing messages on your queue because you had orphaned durable subscribers (ie, you didn't deregister them). I don't know that this is actually the source of your problem.
There were several fixes in some of the earlier CSDs that were related to messages not being received. I don't know of any that are post CSD7. Are you using any kind of selector to get your messages? |
|
Back to top |
|
 |
mq_crazy |
Posted: Thu Sep 23, 2004 6:24 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
how can i turn on trace??? |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Sep 23, 2004 7:51 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
You use the strmqtrc command to turn on trace. It will create a bunch of *.trc files in your wmq\errors subdirectory. Details are in the Systems Administration manual. |
|
Back to top |
|
 |
mq_crazy |
Posted: Thu Sep 23, 2004 10:38 am Post subject: |
|
|
 Master
Joined: 30 Jun 2004 Posts: 295
|
thanks a lot for your help, i will definitely try that. |
|
Back to top |
|
 |
|