Am using struts and hibernate in my application.To interact with database hibernate we r using.
when application is idle for 8 hous,then connection becomes inactiive and we need to restart the jboss.
when we observed the log , it is like
Communications link failure due to underlying exception:
** BEGIN NESTED EXCEPTION **
MESSAGE: Software caused connection abort: recv failed
java.net.SocketException: Software caused connection abort: recv failed
plz give me solution for it