Author |
Message
|
Scubie |
Posted: Wed Jan 16, 2008 4:43 am Post subject: PUB/SUB problems |
|
|
Apprentice
Joined: 09 Oct 2001 Posts: 26 Location: Pretoria, South Africa
|
Hi all
I am having trouble with a pub/sub implementation.
Server1 - Solaris 10, MQServer 6
Server2 - Solaris 10, Web Server (JBOSS)
The webserver subscribes to topics and most of the time it works/publishes correctly. About once a day, sometimes twice a day pub/sub stops publishing.
I suspect there may be network problems between the 2 servers but cannot confirm that yet, however, the symptoms of "dead subscriptions" is that the SYSTEM.JMS* queues get full I think. That did happen at one stage but does not anymore after rebuilding the broker's queues. They remain at 0 rows at the moment.
When this does happen the only way (I know) to solve is stop all applications and restart MQSeries. Sometimes even MQSeries does not want to stop and I need to kill the processes and remove the semaphores.
Any ideas please?
Thank you
Carlo |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 16, 2008 5:05 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You need to troubleshoot why the broker (pub/sub engine) on the qmgr is failing.
Is this actually WMB?
There should be lots of messages about it in the appropriate error logs.
If this is not actually WMB, then the likely cause is a bad message from the application. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Scubie |
Posted: Wed Jan 16, 2008 5:12 am Post subject: |
|
|
Apprentice
Joined: 09 Oct 2001 Posts: 26 Location: Pretoria, South Africa
|
Hi Jeff
This is Websphere MQSeries V6.0. I have checked /var/mqm/qmgrs/qmgr_name/errors/*.LOG as well as /var/mqm/errors/*.LOG and not seen anything out of the ordinary.
Using MQMONNTP, is it possible to check the messages on the queue?
Thanks |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 16, 2008 5:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Scubie wrote: |
This is Websphere MQSeries V6.0. |
Patched to what level?
When the publishing stops, what error codes from MQ do the publishers report? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Scubie |
Posted: Wed Jan 16, 2008 5:22 am Post subject: |
|
|
Apprentice
Joined: 09 Oct 2001 Posts: 26 Location: Pretoria, South Africa
|
Hi Vitor
PKGINST: mqm
NAME: WebSphere MQ for Sun Solaris
CATEGORY: application
ARCH: sparcv9
VERSION: 6.0.0.0
BASEDIR: /
VENDOR: IBM
PSTAMP: src (packaged: May 20, 2005 - 01:33:15 AM)
Publishers do not report any error codes.
Carlo |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 16, 2008 5:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I'd apply some maintenance and try again. The plain v6 is a little on the flakey side & I'd strongly recommend going to v6.0.1 as a minimum.
Ideally of course, you'd go all the way to v6.0.2.1 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Scubie |
Posted: Wed Jan 16, 2008 5:41 am Post subject: |
|
|
Apprentice
Joined: 09 Oct 2001 Posts: 26 Location: Pretoria, South Africa
|
Hi Vitor
Problem is I have another site where V6.0.0.0 is working no problem, only difference is that the web server and the application server is all on the same Solaris server, not 2 seperate servers...
Carlo |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 16, 2008 5:52 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Scubie wrote: |
Problem is I have another site where V6.0.0.0 is working no problem, only difference is that the web server and the application server is all on the same Solaris server, not 2 seperate servers...
|
So what you're telling me is in one configuration it works fine, in a different configuration a bug is exposed? And you're surprised? All software displays bugs like that!
Consider this - by your own admission when MQ gets into this state it hangs and has to be cancelled manually, down to releasing the semaphores by hand. What does that sound more like, a configuration problem or a software error?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 16, 2008 5:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I repeat - What is acting as the pub/sub broker?
Just because you're using MQ v6, doesn't mean that you're using the MQ v6 Pub/Sub broker.
You could be using Message Broker. If you're [b]not[/i] using Message Broker, then likely this thread should be moved out of the WMB forum.
If you are not seeing any errors on the WMQ side, then you should be seeing errors on the JBoss side. Unless you're using WMB, in which case you would see errors in the WMB logs. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 16, 2008 5:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jefflowrey wrote: |
I repeat - What is acting as the pub/sub broker?
Just because you're using MQ v6, doesn't mean that you're using the MQ v6 Pub/Sub broker.
|
My advice is based on the assumption you're using native MQ not WMB. But that could explain the lack of messages in either the application or MQ logs if they're in broker logs. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Scubie |
Posted: Wed Jan 16, 2008 6:01 am Post subject: |
|
|
Apprentice
Joined: 09 Oct 2001 Posts: 26 Location: Pretoria, South Africa
|
Apologies on 2 counts. Wrong forum then as it is the MQ v6 Pub/Sub broker.
Sorry, no messages either in error logs or JBOSS server logs.
It seems as if the mqbroker actually hangs. I cannot even endmqbrk, it does not respond.
Carlo |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 16, 2008 6:10 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Moved to MQ forum _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 16, 2008 6:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Scubie wrote: |
It seems as if the mqbroker actually hangs. I cannot even endmqbrk, it does not respond.
|
And you still feel applying maintenance is futile?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 16, 2008 6:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Upgrade to a newer release level.
There are many many fixes between 6.0.0.0 and 6.0.2.2. It shouldn't be a big surprise to know that some of them are to the pub/sub broker.
If you insist on staying at 6.0.0.0, then you should be opening a PMR. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Scubie |
Posted: Wed Jan 16, 2008 6:31 am Post subject: |
|
|
Apprentice
Joined: 09 Oct 2001 Posts: 26 Location: Pretoria, South Africa
|
1. Thanks for moving the thread...
2. Busy downloading 6.0.2.2 to test on-site first.
Thank you
Carlo |
|
Back to top |
|
 |
|