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 » queueXAMQSession

Post new topic  Reply to topic
 queueXAMQSession « View previous topic :: View next topic » 
Author Message
mpammidi
PostPosted: Mon Mar 11, 2002 7:56 am    Post subject: Reply with quote

Newbie

Joined: 07 Oct 2001
Posts: 8
Location: Toronto

We are trying to create an XA session with MQ and WEBLOGIC 6.1 as follows and we are getting a ClassCastException. Please advise. Does MQ support 2Phase Commit with WEBLOGIC6.1 ? We are using JMS libraries

queueXAMQSession = connectionMQ.createXAQueueSession();

java.lang.ClassCastException: com.ibm.mq.MQSESSIONClient
at com.ibm.mq.MQXAQueueManager.getXAResource(MQXAQueueManager.java:142)
at com.ibm.mq.jms.MQXAQueueConnection.createXAQueueSession(MQXAQueueConnection.java:91)
....
Back to top
View user's profile Send private message
kolban
PostPosted: Mon Mar 11, 2002 8:42 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

MQSeries JMS does not support two phase commit under WebLogic. Only under IBM's WebSphere.
Back to top
View user's profile Send private message
mpammidi
PostPosted: Mon Mar 11, 2002 10:53 am    Post subject: Reply with quote

Newbie

Joined: 07 Oct 2001
Posts: 8
Location: Toronto

Thank you sir
Back to top
View user's profile Send private message
mrlinux
PostPosted: Mon Mar 11, 2002 11:18 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Is Weblogic XA Compliant ??? Becuase it may still work

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
mpammidi
PostPosted: Wed Mar 13, 2002 6:32 am    Post subject: Reply with quote

Newbie

Joined: 07 Oct 2001
Posts: 8
Location: Toronto

According to the documentation it looks like WL 6.1 supports XA. Please advise if there is a way to get it working

weblogic.jdbc.oci.xa
Class XAConnection

java.lang.Object
|
+--weblogic.jdbc.oci.Connection
|
+--weblogic.jdbc.oci.xa.XAConnection



public class XAConnection
extends Connection
implements javax.sql.XAConnection

Each XA connection corresponds to a database connection. It has an OCI JDBC connection, to which it delegates JDBC 2.0 API calls.
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 » queueXAMQSession
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.