We are migrating Tomcat6, java 6 and Oracle 10g web-applications to Tomcat 8, Java 8 and Oracle 10g. Our applications working fine after migrated, but initial connections (initialSize="5") available in connection pool not released after Tomcat shut down. When second time starting tomcat, its creating 5 more initial connections to pool. I am using below resource configuration in server.xml
And below resource link configuration in application META_INF/context.xml
I am using ojdbc7.jar for oracle driver. Please help whether i missed any configuration..
Thanks for your reply Mr.Côté.
I checked connection pool releasing its initial connection (initialSize=5) in Tomcat 6 shutdown through oracle DB v$session table. But its not happening on Tomcat 8 and Java 8. For more verification i tried below combinations:
Tomcat 6 & Java 6 - Connections Releasing - Working fine
Tomcat 6 & Java 8 - Connections Releasing - Working fine
Tomcat 8 & Java 6 - Connections Not releasing
Tomcat 8 & Java 8 - Connections Not releasing
Whether i missed any configurations for Tomcat 8 or have to use any special oracle driver jar??
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad: