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 » PUB/SUB still playing up

Post new topic  Reply to topic
 PUB/SUB still playing up « View previous topic :: View next topic » 
Author Message
Scubie
PostPosted: Wed Apr 02, 2008 11:24 pm    Post subject: PUB/SUB still playing up Reply with quote

Apprentice

Joined: 09 Oct 2001
Posts: 26
Location: Pretoria, South Africa

Hi All

I am still at a loss with PUB/SUB. It seems as if the subscribers get un-subscribed for some reason or another.

The following is the setup:
JBOSS/Java/JMS subscriber on one server using a server connection channel to an WMQ on a second server on different VLAN's.

There is a VLAN issue causing the 2 servers not to be able to ping each other occassionally for 2 - 4 seconds about 2 or 3 times a day (ok I know that must be sorted out but the client insists the system should recover even if there are network interruptions).

However, I have simulated the network interruptions by unplugging the network cable and plugging it in again numerous times, every time pub/sub carries on as if there was no problem.

However, occassionaly the WMQ Broker unsubscribes the subscribers and the pub/sub stops working from the application perspective. If you run the command amqspsd when all is ok, you can see the subscribers, but about once every 3 hours or so, the subscribers on that display disapear. We need to stop/start JBOSS to get it up again.

Any ideas please?

Thank you

Carlo
_________________
________________________________
Carlo Henrico

Live fast, die young, enjoy a good looking corpse!
Back to top
View user's profile Send private message Visit poster's website
bower5932
PostPosted: Thu Apr 03, 2008 3:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Are the subscribers durable or non-durable? If they are non-durable and something 'happens', they would go away.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Scubie
PostPosted: Thu Apr 03, 2008 3:07 am    Post subject: Reply with quote

Apprentice

Joined: 09 Oct 2001
Posts: 26
Location: Pretoria, South Africa

I have tried all 4 options:

1. Non-durable with dynamic queues
2. Non-durable with fixed queues
3. Durable with dynamic queues
4. Durable with fixed queues

In all four cases the publisher stops (SYSTEM.BROKER.IQ.1.4 entries disapear and as a result amqspsd show no subscribers).
_________________
________________________________
Carlo Henrico

Live fast, die young, enjoy a good looking corpse!
Back to top
View user's profile Send private message Visit poster's website
Scubie
PostPosted: Sun Apr 06, 2008 9:23 pm    Post subject: Update... Reply with quote

Apprentice

Joined: 09 Oct 2001
Posts: 26
Location: Pretoria, South Africa

Just as an update:

On the JBOSS server side I have 3 JBOSS' running. I have connected this server to the WMQ server with a cross-over network cable. One of the 3 has been configured using this cross-over cable. It never fails. The other 2 fail after exactly 2 hours.

They communicate via a VLAN Cisco switch/firewall where apparently all the required ports have been opened (other MQ communications go through without a problem).

I have also staggered starting the other 2 (one 40 minutes later). First the one fails then the other fails 40 minutes later.

Is there not perhaps some kind of communication at maybe UDP level or something that the WMQ expects to confirm that a subscription is being used and then after a 2 hour timeout it automatically unsubscribes the subscriptions?
_________________
________________________________
Carlo Henrico

Live fast, die young, enjoy a good looking corpse!
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon Apr 07, 2008 2:27 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This is more likely the firewall cutting a connection that it deems to be idle more than the configured amount of time...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » PUB/SUB still playing up
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.