Re­lease notes for the 4.0.78 re­lease...

176500: Race con­di­tion in AtomikosNonXADataSourceBean

Fixed a race con­di­tion where non-xa con­nec­tions could be bor­rowed by 2 con­cur­rent threads un­der high load, lead­ing to er­rors in the log like this:

java.sql.SQLEx­cep­tion: Can't call com­mit when au­to­com­mit=true

176184: CleanupFil­ter: also log be­fore and af­ter re­quest in­for­ma­tion

For our Tom­cat in­te­gra­tion we now also log a bit more: be­fore and af­ter each re­quest.

176289: Tom­cat thread reuse: also cleanup Spring's Thread­Lo­cal state

In mod­ule trans­ac­tions-spring, we have added two new fil­ters:

  • com.atom­ikos.spring.CleanupPend­ingThread­Lo­calS­tateFil­ter and
  • com.atom­ikos.spring.CleanupPend­ingTrans­ac­tionCon­tex­tFil­ter

Th­ese can be used to cleanup pend­ing Spring state. Nor­mal­ly this is done by Spring's JtaTrans­ac­tionMan­ag­er, but in case of pend­ing trans­ac­tions on a Tom­cat re­quest thread, the Spring trans­ac­tion cleanup may not hap­pen. In those cas­es, you need these fil­ters or you will see weird warn­ings like these:

WARNING: At­tempt to use con­nec­tion af­ter it was closed.

Ad­ding these fil­ters should pre­vent that.

Avail­able to cus­tomers only. Want to be­come a cus­tomer?

Send me a quote
RSS

Com­ments

Add a com­ment

Cor­po­rate In­for­ma­tion

Atomikos Cor­po­rate Head­quar­ters
Hove­niersstraat, 39/1, 2800
Meche­len, Bel­gium

Con­tact Us

Copy­right 2026 Atomikos BVBA | Our Pri­va­cy Pol­i­cy
By us­ing this site you agree to our cook­ies. More info. That's Fine