Hello: 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