Link Details

Link 956547 thumbnail
User 234827 avatar

By jvwilge
Published: Apr 19 2013 / 02:21

I saw the errors 'The last packet successfully received from the server was x milliseconds ago' and 'Communications link failure' a lot lately. So much it almost drove me crazy. I knew it had something to do with the timeout of 8 hours that MySQL has by default for every connection.This is a simple problem, but the internet is so polluted with everybody parroting each other that it didn't get me any further. After a few days I fixed the problem, it was indeed very simple but because I did something stupid with JPA it became very complex. In this article I'll explain the simple solution and tell you about my complex problem, maybe you're having the same trouble.
  • 4
  • 0
  • 566
  • 520

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)

Voters Against This Link (0)

    Play Framework
    Written by: Ryan Knight
    Featured Refcardz: Top Refcardz:
    1. Akka
    2. Design Patterns
    3. OO JS
    4. Cont. Delivery
    5. HTML5 Mobile
    1. Akka
    2. JUnit/EasyMock
    3. Java Performance
    4. REST
    5. Java