This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes unclosed connection detected 'oracle.oc4j.sql.spi.connectionfinalizer in OC4J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "unclosed connection detected Watch "unclosed connection detected New topic

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

Girish Vasmatkar
Ranch Hand

Joined: Apr 24, 2008
Posts: 201
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,
I agree. Here's the link:
subject: unclosed connection detected 'oracle.oc4j.sql.spi.connectionfinalizer in OC4J
jQuery in Action, 3rd edition