Atomikos Forum

Procedure to debug connection leaks?

Hi,

I just started using Atomikos JTA in our project and experimenting with it.

From past experience a really important thing to always prepare to is how to debug connection leaks in our code.

Using the c3p0 pool previously there was a property set in the hibernate.xml that produced a proper debug log line when a connection was overdue with the proper stack trace.
This helped a lot finding for example a missing service where a developer did not add a @Transactional annotation.

What's the same procedure in Atomikos for these sad occasions :)?

Thanks,
Arie
Arie Fishler Send private email
Monday, May 26, 2014
 
 
Did you try the reapTimeout?
Guy Pardon Send private email
Friday, June 06, 2014
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics