Atomikos Forum

Reaping active connections in AtomikosNonXADataSourceBean

I have been having problems with my non-xa datasource closing during a transaction (My transactions are very short, generally a few seconds) because the connections are marked erronous and closed. I was able to solve the problem by setting the reapTimeout to 0 in the datasource bean.

After looking at the 3.3.4 source code I think there might be a problem with the updateLastTimeReleased() method never being called on a AtomikosNonXAPooledConnection like it is in AtomikosXAPooledConnection.

Has anyone else notice this problem?
umesh balasubramaniam Send private email
Monday, September 22, 2008
 
 
Hi,

Thanks for sharing!

This has actually been reported as a bug, and is already fixed in our now ready (and soon-to-come-out) 3.3.5 release.

Guy
Guy Pardon Send private email
Monday, September 22, 2008
 
 

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

Other recent topics Other recent topics