This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes CICS Two phase commit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "CICS Two phase commit" Watch "CICS Two phase commit" New topic
Author

CICS Two phase commit

Farouk Sherefudheen
Ranch Hand

Joined: Jan 27, 2004
Posts: 32
Hello All

I know about two phase commit and my question is regarding the transaction boundries crossing multiple resources like DB, Mainframe, MQSeries to staffware and others.

Our scenario is EJB starts a transaction and call Oracle DB then calls CICS to do some commit and then calls DB2 and finally calls staffware to move the item from one staffware queue to another.

In other transactions the above four resources are used in different order.

Now can I use two phase commit in this circumstance. I am calling CICs using ECI and using a transaction name.

If say after calling ORacle, DB2 and finally calling CICS fails how can the trransaction manager does the rollback of cics trransactions?

Does this work of transaction manager or we ave to write a trransaction in CICS Please explain?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: CICS Two phase commit
 
Similar Threads
Two Phase Commit and CICS Trransactions
CICS Two phase commit
Multiple database
drivers JDBC on WAS4.0
Hibernate with WebSphere/WebLogic.