how to config connection time out in struts connectionpool

2003-08-02 Thread Yue Lieji
who can tell me how to config the connection time out in a struts connectionpool? i config my connectionpool as below.but connection will be exhausted very soon. data-sources data-source key=testSource type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName

Re: how to config connection time out in struts connectionpool

2003-08-02 Thread Ted Husted
Struts does not so much provide a connection pool as it provides a way to load and expose one. The Struts data source controller will instantiate any DataSource subclass you like and then use reflection to set whatever properties you specify. Since you are using the Commons DBCP pool, the best