Re: Getting DBCP Exception

2005-06-14 Thread Anto Paul
On 6/14/05, ajay kumar [EMAIL PROTECTED] wrote: Hi Everybody, This is Ajay Kumar.I implemented DBCP through tomcat container.Some times when i run the webpages it is giving the following Exception: org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Server

Re: Getting DBCP Exception

2005-06-14 Thread Jon Wingfield
Ajay, That's a mySQL error message. In the jdbc url you can add parameters to automate reconnection: extract-from-doco autoReconnect should the driver attempt to re-connect if the connection dies? (true/false) - false maxReconnects if autoReconnect is enabled, how many times should the

Getting DBCP Exception

2005-06-13 Thread ajay kumar
Hi Everybody, This is Ajay Kumar.I implemented DBCP through tomcat container.Some times when i run the webpages it is giving the following Exception: org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Server connection failure during transaction. Attempted reconnect 3