Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Inactive session Objects in Database

843830May 8 2007 — edited May 11 2007
Hi :

We are facing this peculiar problem of Invalid Sessions in database. There are Inactive sessions for days together in Database.

We are using a common utility for all select Queries; along with that we are using datasource to get connection object. We have even checked that common component for connection closing. The code seems to be fine as such first we have closed resultset then statment and then connection object.

But I found on few sites that we should set all the objects to null. That will server the purpose.

But then we have implemented Connection pooling along with that we are also purging timeout connections along with that we are using Reap time settings etc.

Still there are inactive session objects being held for days together.

Is there anything more on Application part to be done or is it a bug at database front.

Avadhoot Sawant
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2007
Added on May 8 2007
1 comment
264 views