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 » MQJMS1068: failed to obtain XAResource

Post new topic  Reply to topic
 MQJMS1068: failed to obtain XAResource « View previous topic :: View next topic » 
Author Message
tborrome
PostPosted: Thu Aug 29, 2002 5:01 am    Post subject: MQJMS1068: failed to obtain XAResource Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
YT
PostPosted: Thu Feb 05, 2004 2:25 am    Post subject: Reply with quote

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
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 » MQJMS1068: failed to obtain XAResource
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.