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

 Search found 17 matches
Author Message
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Fri Dec 21, 2007 6:01 am   Subject: 2- phase commit possible?
ok I also read that somewhere that using these actions wasn't necessary.
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Fri Dec 21, 2007 5:43 am   Subject: 2- phase commit possible?
where are you guys seeing a loop? there is no loop

I guess we're assuming that your program is going to put more than one message during it's lifespan, and you aren't going to be starting it up ev ...
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Fri Dec 21, 2007 5:25 am   Subject: 2- phase commit possible?

I would have expected it to be before the loop i.e. before the first put.

where are you guys seeing a loop? there is no loop
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Fri Dec 21, 2007 4:01 am   Subject: 2- phase commit possible?
You need to use MQBegin and MQCommit/MQRollback, when using 2pc.



I added a _mqQmgr.begin() before the accessqueue line, now i get a {"MQRC_HCONN_ERROR"} error.
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Thu Dec 20, 2007 11:11 pm   Subject: 2- phase commit possible?
I changed my code like this:

1) i create the queue manager

System.Collections.Hashtable properties = new System.Collections.Hashtable();
properties.Add(MQC.TRANSP ...
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Thu Dec 20, 2007 5:07 am   Subject: 2- phase commit possible?
David, i do not want the QMGR to coordinate the transaction.

At the moment i start this code in the serviced component, a transaction is already started, because i first do some stuff in different ...
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Wed Dec 19, 2007 5:32 am   Subject: 2- phase commit possible?
Now this is fun:

Scenario 2: Other software provides the coordination

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzag.doc/fa13980_.htm

For detailed info ...
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Wed Dec 19, 2007 4:47 am   Subject: 2- phase commit possible?
lol, i did had a feeling this could be the right place.

Now how must this be configured for MSDTC ?
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Wed Dec 19, 2007 4:35 am   Subject: 2- phase commit possible?
MSDTC will be the coordinator. Where must this be configured?

The one screen i think that can be used to configure this is: XA Resource Manager settings.

Queue mngr - properties - resources.
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Wed Dec 19, 2007 12:22 am   Subject: 2- phase commit possible?
Hi David,

this is the code i'm using:

[Transaction(TransactionOption.Required)]
public class CUSTOM_MQ : ServicedComponent
{

public CUSTOM_MQ( ...
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Tue Dec 18, 2007 11:17 pm   Subject: 2- phase commit possible?
I don't know how .NET reacts if you select bindings on a machine with no queue manager but that's the setting.


My machine has a queue manager. Like i said before, everything is installed on my ...
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Tue Dec 18, 2007 2:11 am   Subject: 2- phase commit possible?
Vitor,

I tought i was using server:



System.Collections.Hashtable properties = new System.Collections.Hashtable();
properties.Add(MQC.TRANSPORT_ ...
  Topic: 2- phase commit possible?
TimothyV

Replies: 30
Views: 67655

PostForum: Multiphase Commit   Posted: Mon Dec 17, 2007 11:41 pm   Subject: 2- phase commit possible?
No.

You can only get 2PC with a bindings connection or an Extended Transactional Client Connection.

What is and how can i establish a bindings connection?
  Topic: MQ5.3, .NET API, COM+ distributed transaction enlisting
TimothyV

Replies: 7
Views: 20906

PostForum: Multiphase Commit   Posted: Mon Dec 17, 2007 10:37 pm   Subject: MQ5.3, .NET API, COM+ distributed transaction enlisting
Ok, that makes things clear

And how can i make this work? This should be possible right?

Now when i read this thread: http://www.mqseries.net/phpBB2/viewtopic.php?t=17763&highlight=mq+d ...
  Topic: MQ5.3, .NET API, COM+ distributed transaction enlisting
TimothyV

Replies: 7
Views: 20906

PostForum: Multiphase Commit   Posted: Mon Dec 17, 2007 6:33 am   Subject: MQ5.3, .NET API, COM+ distributed transaction enlisting
Mabye i have to add some more information:

this is my code:

[Transaction(TransactionOption.Required)]
public class CUSTOM_MQ : ServicedComponent
{

p ...
Goto page 1, 2  Next Page 1 of 2

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.