[MySQL] Probleme de connexion
Bonjour,
J'ai une application Web utilisant Struts et Hibernate et MySQL.
Quand je laisse tourner le serveur la nuit, voila ce que je trouve le lendemain matin en essayant de m'y connecter sans redemarrer le serveur. parfois ca marche, et parfois j'ai cette erreur.
Code:
1 2
|
Hibernate ExceptionCould not execute query |
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Caused by: java.sql.SQLException: No operations allowed after connection closed.
Connection was closed due to the following exception:
** BEGIN NESTED EXCEPTION **
java.sql.SQLException
MESSAGE: Communication link failure: java.net.SocketException, underlying cause: Software caused connection abort: recv failed
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: Software caused connection abort: recv failed
STACKTRACE:
java.net.SocketException: Software caused connection abort: recv failed
STACKTRACE:
java.sql.SQLException: Communication link failure: java.net.SocketException, underlying cause: Software caused connection abort: recv failed
** BEGIN NESTED EXCEPTION **
java.net.SocketException
MESSAGE: Software caused connection abort: recv failed
STACKTRACE:
java.net.SocketException: Software caused connection abort: recv failed |
genre j'arrive a me loguer, puis apres, une autre fonction utilisant hibernate ne marche pas. apres, je peux a nouveau me loguer. enfin, c assez obscur.
Voila, si vous pouvez m'aider, ce serait cool.
Sylvain