Atomikos Forum |
|
We Use Atomikos TransactionEssentials with postgres and spring.
We notice when a postgres commit error occurs, it writes to the Atomikos log files. The problem is when we stop and restart the application service , it uses the old Atomikos log file by copying all the contents into the new log file (tr to tr+1). If we wish to discard the transaction can we just delete the Atomikos log (500MB), as they seem to be affecting the service?
It appears to be a fault with our setup.
Having a look at default82df.html?community.6.2831.0 We have now changed the setting com.atomikos.icatch.threaded_2pc from true to false We are using postgres, and it (postgres) return this error invalid byte sequence for encoding "UTF8": 0x00 when you saving something to db, atomikos will generate lot of this error every 10 seconds continuously : BSTERROR: prepared transaction with identifier "1096044365_MTkyLjE2OC43LjI5LnRtMDAwMTkwMDA0MA==_MTkyLjE2OC43LjI5LnRtMjQ=" does not exist BSTSTATEMENT: COMMIT PREPARED '1096044365_MTkyLjE2OC43LjI5LnRtMDAwMTkwMDA0MA==_MTkyLjE2OC43LjI5LnRtMjQ=' And may slow/bring down your application server. Also this link may be similar default82df.html?community.6.1918.14 |