El jue, 04-10-2007 a las 05:38 -0400, David Smith escribió:
Add validationQuery=select 1 to your Resource .../ definition to
cause the database pool to test connections and regenerate them as
necessary before your code gets a connection.
--David
Perfect. It works. That was the solution.
I am having a problem with DBCP.
It is a problem with my applications written last year for
apache-tomcat-5.5. They worked perfectly but I will soon need
apache-tomcat-6 and I have upgraded my servers.
I haven't had any problem with my old applications until I discovered
every morning an
Add validationQuery=select 1 to your Resource .../ definition to
cause the database pool to test connections and regenerate them as
necessary before your code gets a connection.
--David
Josué Alcalde González wrote:
I am having a problem with DBCP.
It is a problem with my applications