unclosed connection detected 'oracle.oc4j.sql.spi.connectionfinalizer in OC4J
posted 6 years ago
I am facing a strange problem in OC4J such that when the application is run in the OC4J it shows the above warning messgage. We use glassfish as development environment and there I did not see any connenction leak thing. I used the same connection pool with same configuration in both glassfish and OC4J, the application runs fine with glassfish and I also monitored the pool in glassfish it does not show any leak what so ever.
While in OC4J, the application stops working after some time. Is it a bug in OC4J or what?
Because I saw monitoring data in the OC4J as well and it shows that there are connections available in the pool but the application does not work anymore.
Do I need to do OC4J specific thing in the application code?
We use container managed transactions with toplink.