There is a parameter that can be specified in the connection url for mysql. Something like "autoconnect". Look to mysql jdbc driver for details.

Regards,
Horia

Rafal Kedziorski wrote:
At 12:02 04.08.2003 +0300, Alexey Loubyansky wrote:

Hello Rafal,

it looks like a problem in connection to MySql.


I know, that JBoss is loosing the connection to MySQL. Is there a possibilty to reconnect to the MySQL server without this expcetion?


Rafal


alex

Monday, August 04, 2003, 11:25:50 AM, Rafal Kedziorski wrote:

> hi,

> we had following problem. We are working with JBoss 3.2.2RC2, MySQL 4.0.14
> (only with InnoDB tables) and Sun Java 1.4.2 and IBM Java 1.4.1 on Linux.


> Out application will be used only from monday to friday. that means, that
> this application is only running 2,5 days. The first 2-4 logins failed with
> this exceptions:


> exception in server.log:
> ------------------------
> 2003-08-04 10:07:47,259 ERROR
> [org.jboss.security.auth.spi.DatabaseServerLoginModule] Query failed
> java.sql.SQLException: Communication link failure: java.io.IOException
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java(Compiled Code))




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to