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