|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
XAException: client connection not XA enabled |
« View previous topic :: View next topic » |
Author |
Message
|
YT |
Posted: Thu Feb 05, 2004 4:47 am Post subject: XAException: client connection not XA enabled |
|
|
Newbie
Joined: 14 Jul 2003 Posts: 6 Location: London
|
Hi,
I'm trying to implement XA transactionality for WMQ 5.3 Extended Transactional Client running in a WAS 4.x environment and am having a few problems:
The method that is failing is as follows:
public void openConnection() throws Exception
{
final String METHOD_NAME = "openConnection";
String logMessage = null;
LogHelper.methodEntry(PACKAGE_NAME, CLASS_NAME, METHOD_NAME);
try
{
// Open connection
qcon = qconFactory.createXAQueueConnection();
// Create queue session
qsession = qcon.createXAQueueSession();
// Create queue sender
qsender = qsession.getQueueSession().createSender(queue);
}
catch (Exception e)
{
logMessage = "An error occurred during opening of connection";
LogHelper.error(PACKAGE_NAME, CLASS_NAME, METHOD_NAME,logMessage, e);
e.printStackTrace(System.out);
throw new Exception(logMessage);
}
LogHelper.methodExit(PACKAGE_NAME, CLASS_NAME, METHOD_NAME);
}
and the specific failing Java statement appears to be:
// Create queue session
->> qsession = qcon.createXAQueueSession();
when I try to open a connection to the queue manager.
The failure is MQJMS1068 Failed to obtain XAResource.
Explanation: JMS failed to create an XA Queue resource due to an error.
User Response: See the linked XAException for more information.
The linked XAException returned is:
javax.transaction.xa.XAException: client connection not XA enabled
Any help on this would be greatly appreciated - Thanks! _________________ Cheers! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|