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 » Anyone used JMS and WMQ Multi Instance Queueing?

Post new topic  Reply to topic
 Anyone used JMS and WMQ Multi Instance Queueing? « View previous topic :: View next topic » 
Author Message
JonasLarsen
PostPosted: Thu Nov 19, 2009 3:18 am    Post subject: Anyone used JMS and WMQ Multi Instance Queueing? Reply with quote

Newbie

Joined: 19 Nov 2009
Posts: 4

Hi,

we are trying to set up XA connection factories via JNDI to point to
Multi Instance Queue Manageres useing WebSphere MQ 7.0.1 as JMS
provider.
We tried to set up XA Queue Connection Factory in JNDI useing JMSAdmin.

In the Infocenter page "Properties of WebSphere MQ classes for JMS objects" table ", Table 2, we find that these
properties can't be applied to XA Connection factories:

CONNECTIONNAMELIST
CLIENTRECONNECTOPTIONS
CLIENTRECONNECTTIMEOUT

We are allowed to use CONNECTIONNAMELIST and CLIENTRECONNECTTIMEOUT.
But not CLIENTRECONNECTOPTIONS, which fails with the following:

Unable to create a valid object, please check the parameters supplied
JMSADM4128 CROPT WMQ_CLIENT_RECONNECT

Is there a way to use XA JMS connections with multi intance queue managers?

Best regards
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Nov 19, 2009 4:32 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

In yesterday's WebSphere Technical Exchange on Multi-Instance QueueManagers it was mentioned the multi-instance does not do a seamless take over,
it's shutdown and restart on another machine, inflight transactions need to be resolved manually,
so I can imagine the XA flags not working or be settable in such environment...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
JonasLarsen
PostPosted: Thu Nov 19, 2009 4:55 am    Post subject: Reply with quote

Newbie

Joined: 19 Nov 2009
Posts: 4

Hi,

can be the case that the inflight transactions need to be solved manually, but it shouldn't stop us from useing JMS XA when the connection is working fine, and if failure occur there should be possible to do a reconnect to the standby queue manager, now the active one, useing the CONNECTION-parameters.



contact admin
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Nov 19, 2009 5:52 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

it seems these features XA-JMS and Multi instance are currently excluding each other.

Best verify with IBM support to be sure...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
fjb_saper
PostPosted: Thu Nov 19, 2009 3:21 pm    Post subject: Reply with quote

Grand High Poobah

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

Michael Dag wrote:
it seems these features XA-JMS and Multi instance are currently excluding each other.

Best verify with IBM support to be sure...

I would rather imagine that you'd have to rollback the current transaction and retry it on the failed over system...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Michael Dag
PostPosted: Thu Nov 19, 2009 5:26 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

fjb_saper wrote:
Michael Dag wrote:
it seems these features XA-JMS and Multi instance are currently excluding each other.

Best verify with IBM support to be sure...

I would rather imagine that you'd have to rollback the current transaction and retry it on the failed over system...


my guess is that the development team had to make choices, knowing the people in Hursley they don't take things lightly... BUT
customer demand rules, if no one specifically asks for this functionality it will never get there.

so raise the question with support, find out if it is truly not supported now and raise a requirement to get it...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
JonasLarsen
PostPosted: Fri Nov 20, 2009 2:52 am    Post subject: Reply with quote

Newbie

Joined: 19 Nov 2009
Posts: 4

Issue raised with IBM. Will update this thread when I get a good answer from IBM.
Back to top
View user's profile Send private message
JonasLarsen
PostPosted: Thu Nov 26, 2009 4:21 am    Post subject: Reply with quote

Newbie

Joined: 19 Nov 2009
Posts: 4

Response from IBM:

"The MQ client reconnect capability does not support XA.
Multi-instance queue managers can be used in an XA environment, however
in the event of a failover the clients would have to manually reconnect
to the alternate queue manager instance.
.
The following statement appears in the Application recovery section
of the MQ system admin guide.
.
"Reconnectable clients can use single phase transactions under the
control of the queue manager as the transaction coordinator. The
extended transactional client does not support reconnection. If
reconnection is requested when the transactional client connects, the
connection succeeds, but without the ability to be reconnected. The
connection behaves as if it is not reconnectable".
"

contact admin
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Nov 26, 2009 8:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

contact admin,
thanks for sharing, but does this give you what you need???
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jabhijeet
PostPosted: Wed Oct 17, 2012 8:03 am    Post subject: Any example please Reply with quote

Newbie

Joined: 17 Oct 2012
Posts: 6

Hello

I want to use this clientConnectionList option for com.ibm.mq.MQQueueManager.
Could anyone help me here please?
an sample example in java will be appreciated.

Thanks in advance
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 » Anyone used JMS and WMQ Multi Instance Queueing?
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.