try making your getDbConnection method static. It might be holding a
reference to your utilclass that you have instantiated. It might be taking
longer to gc the class. This is just a guess.
Example:
public static Connection getDbConnection() {
...
}
Brandon Goodin
Phase Web and
List
Subject: RE: DBCP could not obtain an idle db connection pool
exhausted
try making your getDbConnection method static. It might be holding a
reference to your utilclass that you have instantiated. It
might be taking
longer to gc the class. This is just a guess.
Example
: Wednesday, February 19, 2003 12:54 PM
To: Struts Users Mailing List
Subject: RE: DBCP could not obtain an idle db connection pool
exhausted
try making your getDbConnection method static. It might be holding a
reference to your utilclass that you have instantiated. It
might be taking
longer to gc
PM
To: Struts Users Mailing List
Subject: RE: DBCP could not obtain an idle db connection pool
exhausted
How much advantage is caching the datasource lookup? Isn't
that the whole
idea of a ConnectionPool and the jndi lookup. Isn't the registry just
pointing to a persistent object
4 matches
Mail list logo