My ScheduledExecutorService runs a few jobs. Initially all inserts to Oracle work fine but they eventually start to fail silently (no errors in tomcat logs). On shutdown of tomcat, I get these warnings:
- web application [myapp] appears to have started a thread named [oracle.jdbc.driver.BlockSource.ThreadedCachingBlockSource.BlockReleaser] but has failed to stop it...
- web application [myapp] appears to have started a thread named [InterruptTimer] but has failed to stop it....
As advised, my lone ojdbc8.jar is in CATALINA_HOME/lib
and I've tried several permutations of shutdown(), shutdownNow()
in ServletContextListener.contextDestroyed()
There are no other webapps deployed. There is no sign of trouble in the Oracle logs.