Hi,
I work with WSAD5.1.2/WebSphere5.1 test environment.
Using the JtaTransactionManager to write in a DB2 v8.1.3 datasource (the ds is ok, i can read/write without any problem), if i code a manual transaction via TransactionTemplate:
The tt.execute runs ok, no exception, but I get a TransactionTimeout after 120 Sec.Code:TransactionTemplate tt = new TransactionTemplate( ptm); tt.execute( new TransactionCallbackWithoutResult() { protected void doInTransactionWithoutResult( TransactionStatusts){ daoCity.updateCity( aCity); } });
Is something missing in my code to close the transaction ???
Thank you for help !


Reply With Quote