You could try setting the autoReconnect parameter on the mysql url: jdbc:mysql://mydomain:3306/mydatabase?autoReconnect=true
cheers matthew On Tue, 19 Nov 2002 13:44:34 +0100 Dragan Ljubojevic <[EMAIL PROTECTED]> wrote: > I have same problem and only what I found is this: > > Segment from MySql documentation "A.2.2 �MySQL server has gone away > Error":-------------------------------------------------------------- > -------------- By default, the mysql server closes the connection > after 8 hours if nothing has happened. > You can change the time limit by setting the wait_timeout variable > when you start mysqld. > --------------------------------------------------------------------- > ------- > > When I try to connect next time I get "Lost connection to server > during query" exception. > > Dragan > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> For additional > commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Unix is user friendly. It's just very particular about who it's friends are. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

