commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu (JIRA)" <>
Subject [jira] Created: (DBCP-257) Inactive sessions are not handled properly
Date Fri, 18 Jan 2008 06:19:34 GMT
Inactive sessions are not handled properly

                 Key: DBCP-257
             Project: Commons Dbcp
          Issue Type: Task
    Affects Versions: 1.2
         Environment: JDK 1.4
            Reporter: Raghu


I am using commons-dbcp 1.2.1.jar and commons-pool 1.2 jar for obtaining a connection pooling.
The setup works fine under normal conditions but i am facing problems lilke 
1.when the network goes down during the interaction with db the system goes down gradually
2.The inactive sessions are not handled properly.
3.When exhaustion occurs the connection is not made properly.

Currently i am using - GenericObjectPool(PoolableObjectFactory factory, int maxActive, byte
whenExhaustedAction, long maxWait, int maxIdle)  constructor for obtaining the objectpool.

So how do you choose which constuctor to execute and depending upon the requirement i mentioned
below can please guide in the configuration settings.

Thanks for the help

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message