Subject Shutdown / Join
Author Steffen Heil (Mailinglisten)

I am using org.firebirdsql.pool.FBWrappingDataSource.
When I stop the pool using dataSource.shutdown(); it will stop, but the IdleRemover thread seems to stay for some time.
This leads to a warning in tomcat:

WARNING: The web application [ROOT] appears to have started a thread named [Pool // idleRemover] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Thread.sleep(Native Method)

I suspect that happens because the thread has not stopped yet, but will do so soon (as we had no related memory leaks as far as we know).
However, I would really like to just wait until that thread stops.
Is there any other way than reflection to wait for that thread to stop? Or manually stop it?

Best regards,

[Non-text portions of this message have been removed]