[GLASSFISH-19427] connection leak reclaim does not work Created: 11/Dec/12 Updated: 04/Jun/14
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
I execute under three commands:
then I get jdbc connection from "oracle_pool" by my application,the connection that is not return back to the pool by my application within the specified period(leak-timeout), after 10 second, the function of connection-leak-reclaim does not work ,it is a pattern or a bug ?
|Comment by jifeng [ 11/Dec/12 ]|
1. create jdbc resource
2.please download the attachment and deploy it
|Comment by jifeng [ 04/Jan/13 ]|
I think it is a bug:
the code which is marked as "★" has problem，because there is no connection in the pool when the state of pool is unpooling, so "handler.deleteResource(resource)" does not execute
I changed the code and it works fine
|Comment by jifeng [ 01/Aug/13 ]|
This phenomenon also occurs in glassfish v4 .
when i used the way as above， it works fine
could you please confirm it and give me some suggestions?