Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WebSphere 5.0 JTA error

Status
Not open for further replies.

sierra01

Programmer
Nov 14, 2003
1
CA
I got an java.lang.IllegalStateException: Illegal peration: tried to commit connection in global tran. I had a CMT stateless session bean (calling some CMP entity beans). It supposed to update two type of data:
1. business related data, will automatically rollback if an exception occurs;
2. auditing data, we want to manually control when to commit.

I use 1-PC data source for udating business data via entity beans and 2-PC for auditting data. This transaction model works on Oracle9iAS, however I got the above error when calling the connection.commit().

Does anyone know if it is possible to implement the above transaction model on Websphere? Your suggestions would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top