tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose MarĂ­a Zaragoza <>
Subject maxWait
Date Tue, 30 Apr 2013 11:59:44 GMT

I'm using Tomcat 6.0.23
I'm using DBCP library to pooling database connections.

When I define a <Resource> in context.xml
and set  maxWait to 2000 ms ,
sometimes datasource.getConnection() method lasts 15 seconds.

I've to define loginTimeout parameter in JDBC driver to get the effect that
I want  : a timeout retrieving a Connection

What is the meaning of maxWait ? When is triggered this timeout (maxWait) ?

Thanks and regards

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message