Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unclosed connection detected 'oracle.oc4j.sql.spi.connectionfinalizer in OC4J

 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

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.

Thanks and Regards,
Girish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic