1 Reply Latest reply on Aug 14, 2008 9:29 AM by jaikiran

    mysql connection becoming inactive after 8 hours

    mcjeevi

      Hi

      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 **

      java.net.SocketException
      MESSAGE: Software caused connection abort: recv failed

      STACKTRACE:

      java.net.SocketException: Software caused connection abort: recv failed



      plz give me solution for it