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.
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.