My colleague is facing an issue with MySQL. I am asking question on behalf of him.
He has created an application and they use MySQL as database. The application is in Java and they use NHibernate.
When the application run continuously database connection is getting closed after 21 Hours.
Error in the log file is
And i suppose if we don't query the database, database connection will get closed after 8 hours...
Where to change this behavior.?
Is it really a MySQL problem.?
Regards
Dheeraj Joshi
He has created an application and they use MySQL as database. The application is in Java and they use NHibernate.
When the application run continuously database connection is getting closed after 21 Hours.
Error in the log file is
java.sql.SQLExc eption: Communication link failure: java.net.Socket Exception, underlying cause: Software caused connection abort: recv failed
** BEGIN NESTED EXCEPTION **
java.net.Socket Exception
MESSAGE: Software caused connection abort: recv failed
STACKTRACE:
java.net.Socket Exception: Software caused connection abort: recv failed
** BEGIN NESTED EXCEPTION **
java.net.Socket Exception
MESSAGE: Software caused connection abort: recv failed
STACKTRACE:
java.net.Socket Exception: Software caused connection abort: recv failed
Where to change this behavior.?
Is it really a MySQL problem.?
Regards
Dheeraj Joshi
Comment