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 » IBM MQ 6.0 and XA transaction in CLIENT TCP/IP Mode

Post new topic  Reply to topic
 IBM MQ 6.0 and XA transaction in CLIENT TCP/IP Mode « View previous topic :: View next topic » 
Author Message
kalyan.sarkar
PostPosted: Thu Mar 06, 2008 7:51 am    Post subject: IBM MQ 6.0 and XA transaction in CLIENT TCP/IP Mode Reply with quote

Newbie

Joined: 06 Mar 2008
Posts: 3

I want to have XA transactions, involving IBM MQ 6.0 and I want to connect to MQ in CLIENT TCP/IP mode.
But I am getting the following exception, whenever I try to get an XAQueueConnection object from an XAQueueConnectionFactory.

Exception in thread "main" javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '127.0.0.1:NSI'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:586)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2110)
at com.ibm.mq.jms.MQConnection.createQMXA(MQConnection.java:1485)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:103)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:60)
at com.ibm.mq.jms.MQXAQueueConnection.<init>(MQXAQueueConnection.java:57)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:74)
at com.mycompany.transaction.Main5.main(Main5.java:73)

Here is my code fragment

Code:

MQXAQueueConnectionFactory qcf = new MQXAQueueConnectionFactory();
qcf.setQueueManager("NSI");
qcf.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP);
qcf.setHostName("127.0.0.1");
qcf.setPort(1414);
qcf.setChannel("NSICHL");
XAQueueConnection jmsXAConn = qcf.createXAQueueConnection();
XAQueueSession jmsXASession = jmsXAConn.createXAQueueSession();


I can't understand why this happens. Do I need the Extended Transactional Client to have XA transactions while I connect to IBM MQ 6.0 using CLIENT TCP/IP mode? Or is there any other way to do so?

If I use the BINDINGS mode I am able to have XA transactions involving IBM MQ 6.0.

Any ideas?

Thanks and regards,
Kalyan Sarkar
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 06, 2008 7:55 am    Post subject: Re: IBM MQ 6.0 and XA transaction in CLIENT TCP/IP Mode Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kalyan.sarkar wrote:
Do I need the Extended Transactional Client to have XA transactions while I connect to IBM MQ 6.0 using CLIENT TCP/IP mode?


YES.

Or use WAS.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kalyan.sarkar
PostPosted: Thu Mar 06, 2008 8:02 am    Post subject: Reply with quote

Newbie

Joined: 06 Mar 2008
Posts: 3

Thank you for your kind answer. Can you please tell me whether Extended Transactional Client is available for IBM MQ 6.0?

I am working with IBM MQ 6.0 trial and whenever I try to install Extended Transactional Client 5.3 on top of that it asks to install a patch (CSD03) first. The CSD03 patch for Windows is not available from the IBM downloads section. Even if I install this patch will it work?

Thanks in advance.

Regards,
Kalyan Sarkar
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 06, 2008 8:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's available for v6, of course.

But not as a trial, afaik. It's a separate licensable component from MQ.

You should talk to your IBM sales rep.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kalyan.sarkar
PostPosted: Thu Mar 06, 2008 8:21 am    Post subject: Reply with quote

Newbie

Joined: 06 Mar 2008
Posts: 3

Thank you Jeoff. I am trying to contact the IBM sales guy.
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 » IBM MQ 6.0 and XA transaction in CLIENT TCP/IP Mode
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.