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 » Clustering » JMS with clusters

Post new topic  Reply to topic
 JMS with clusters « View previous topic :: View next topic » 
Author Message
dc01bb
PostPosted: Wed Apr 28, 2004 6:01 pm    Post subject: JMS with clusters Reply with quote

Novice

Joined: 25 Oct 2001
Posts: 17
Location: Bruce Baxter

Just ran into this problem today, and I'm wondering what other MQ Series folks have seen in this vein.

We migrated one of our environments from a non-clustered to a clustered environment. Unbeknownst to me some folks have mad a major investment in JMS in their applications. After the upgrade, as far as I was concerned, everything was working. We could access all the cluster queues from all QM throughout the cluster. However the JMS applications didn't work any more. One of our developers found a post in a Sun JAVA forum regarding JMS with MQ Clusters, and the gist of it is that if you want to access a cluster queue via JMS, you have to give it's hosting QM name instead of the name of the QM that you're connected to even though that QM has visibility and access to that cluster queue. Does this make any sense? I resolved the problem by creating QR definitions in the queue managers that needed access to the cluster queue and that solved the problem.

Anyone care to comment?
_________________
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
EddieA
PostPosted: Wed Apr 28, 2004 10:13 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

My guess is that the issue you are seeing is to do with PUTs to a Cluster Queue.

Taken from the Java Manual:
Quote:
When sending a message to a cluster, leave the Queue Manager field in the JMS Queue object blank. This enables an MQOPEN to be performed in BIND_NOT_FIXED mode, which allows the queue manager to be determined. Otherwise an exception is returned reporting that the queue object cannot be found. This applies when using JNDI or defining queues at runtime.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
dc01bb
PostPosted: Thu Apr 29, 2004 3:57 am    Post subject: JMS with clusters Reply with quote

Novice

Joined: 25 Oct 2001
Posts: 17
Location: Bruce Baxter

Whereabouts in the Java manual is the reference quoted above. I haven't been able to find it thus far using any of the search mechanisms in the MQ Info Center.
_________________
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
EddieA
PostPosted: Thu Apr 29, 2004 7:34 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Part 3: Programming with WebSphere MQ JMS

Chapter 10: Writing WebSphere MQ JMS Programs

Section: Sending a Message

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
dc01bb
PostPosted: Thu Apr 29, 2004 8:13 am    Post subject: Reply with quote

Novice

Joined: 25 Oct 2001
Posts: 17
Location: Bruce Baxter

Many thanks. I had looked at the -00 version of the using Java guide last night and went out and found your reference in the latest -02 version of the Using Java book this morning.

Our developers were rather upset when things stopped working abruptly, but IMHO, that's what you get when you don't read the manuals and follow best practices.
_________________
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » JMS with clusters
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.