Re: error while running a webapp

2006-10-06 Thread David Smith
Hassan Schroeder wrote: On 10/6/06, David Smith <[EMAIL PROTECTED]> wrote: A word of caution -- autoReconnect=true is more a hack than a solution. Recent experience of users in another list I'm on suggest it's really hit or miss whether it actually recovers a stale connection or not. I don't r

Re: error while running a webapp

2006-10-06 Thread Hassan Schroeder
On 10/6/06, David Smith <[EMAIL PROTECTED]> wrote: A word of caution -- autoReconnect=true is more a hack than a solution. Recent experience of users in another list I'm on suggest it's really hit or miss whether it actually recovers a stale connection or not. I don't recall ever having a probl

Re: error while running a webapp

2006-10-06 Thread David Smith
A word of caution -- autoReconnect=true is more a hack than a solution. Recent experience of users in another list I'm on suggest it's really hit or miss whether it actually recovers a stale connection or not. It's best in a design pattern to implement a connection pool and be sure to close c

Re: error while running a webapp

2006-10-05 Thread Hassan Schroeder
On 10/5/06, Oliver Wagner <[EMAIL PROTECTED]> wrote: I think the DB close the connection while the tomcat is running and I don't know (at my Connection-Pool) how to know when that happened. set autoReconnect=true in your driver config, or catch the exception when the timeout occurs and retr

AW: error while running a webapp

2006-10-05 Thread Oliver Wagner
2006 23:27 > An: Tomcat Users List; [EMAIL PROTECTED] > Betreff: RE: error while running a webapp > > pdf didn't come through. > > -Original Message- > From: Oliver Wagner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 04, 2006 4:21 PM > To: users@t

RE: error while running a webapp

2006-10-04 Thread Propes, Barry L
pdf didn't come through. -Original Message- From: Oliver Wagner [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 4:21 PM To: users@tomcat.apache.org Subject: error while running a webapp Hello, I wrote a web application (JSPs, Beans, JDBC and MYSQL) and use the t

error while running a webapp

2006-10-04 Thread Oliver Wagner
Hello, I wrote a web application (JSPs, Beans, JDBC and MYSQL) and use the tomcat container. But if the container runs a while the strange error occurs. I don't know how to solve this problem. While the problem occurs the other web applications are still running without a problem. After a restar