|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQJMS1068: failed to obtain XAResource |
« View previous topic :: View next topic » |
Author |
Message
|
tborrome |
Posted: Thu Aug 29, 2002 5:01 am Post subject: MQJMS1068: failed to obtain XAResource |
|
|
Novice
Joined: 03 Apr 2002 Posts: 17
|
Has anyone encountered the following exception - MQJMS1068: failed to obtain XAResource ? I searched aroung but could not find any info regarding this exception.
I'm running MQSeries 5.2 with on Solaris 2.7 with the latest service patch (U481514 CSD05). I am running this with WebSphere 4.0.3, where I have an EJB that performs a 2-phase commit by writing to an Oracle DB and sending a JMS object message to an MQ queue.
My bean JMS code does the following ...
QueueSession session = jmsCon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
QueueSender sender = session.createSender(queue);
msg = session.createObjectMessage(po);
sender.send(msg, DeliveryMode.NON_PERSISTENT, 9, 0);
session.close();
The MQJMS1068: failed to obtain XAResource exception gets thrown at session.createObjectMessage(po);
I thought that there was a problem with Object messages so I changed this to Text messages and I still got the exception.
Any ideas whats heppening here?
Thanks,
Tyrone |
|
Back to top |
|
 |
YT |
Posted: Thu Feb 05, 2004 2:25 am Post subject: |
|
|
Newbie
Joined: 14 Jul 2003 Posts: 6 Location: London
|
Hi Tyrone,
Did you ever resolve this error - I'm getting something similar and am a bit stumped - any help would be appreciated!
Thanks,
Luke _________________ 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
|
|
|
|