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 » WebSphere Message Broker (ACE) Support » Database Insert Rollback

Post new topic  Reply to topic
 Database Insert Rollback « View previous topic :: View next topic » 
Author Message
Rockon
PostPosted: Thu Nov 03, 2005 1:40 pm    Post subject: Database Insert Rollback Reply with quote

Apprentice

Joined: 24 May 2004
Posts: 43

Hi All,
Had an issue wherein I am not able to rollback database inserts in a flow even when the message fails to make it to the Output queue.

Scenario:
InputNode->ComputeNode A->OutputNode
The test message is an order message for 100 parts init.Say in the table I insert 77 parts and while processing the 78th part the message fails.The failed message((complete) is received in the failure queue but the rollback in the table does not occur for the previous 77 parts.

Properties set in the Compute Node A: Transaction Mode =Automatic
Throw exception in Database error= Checked

InputNode:Transation Mode=YES

OutputNode:Transation Mode=YES

p.s Database insert is normal esql insert statement(as in not using PASSTHRU function)

I appreciate any inputs with this regard.
Thankyou,
Cheers
Back to top
View user's profile Send private message
JT
PostPosted: Thu Nov 03, 2005 2:47 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

What is the database platform?

What is the message broker platform, z/OS ?

Did you set up the XA Resource Manager definitions ?
Back to top
View user's profile Send private message
fschofer
PostPosted: Thu Nov 03, 2005 11:47 pm    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
how do you handle your exceptions ?

Take a look here:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac00410_.htm

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
Rockon
PostPosted: Fri Nov 04, 2005 8:28 am    Post subject: Reply with quote

Apprentice

Joined: 24 May 2004
Posts: 43

Hi,
Platform: OS:Windows 2000 ;DB :Oracle 9.0.5 ;
How is the exceptions handled ?We are not processing exceptions.i.e. the catch terminal of the input node is wired to trace node which is followed by a throw node.
The failure terminal of the input node is pointing to another trace node followed by a Failure queue.

So basically its a simple setup.

Please let me know if i can provide you with any other details.
Thankyou for your inputs so far,
Cheers
Back to top
View user's profile Send private message
Rockon
PostPosted: Fri Nov 04, 2005 6:16 pm    Post subject: Reply with quote

Apprentice

Joined: 24 May 2004
Posts: 43

Resolved.....had to wire the catch terminal of the input queue to a trace node followed by a throw node....thankyou for all your inputs..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 » WebSphere Message Broker (ACE) Support » Database Insert Rollback
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.