facebook

Connection reset by peer: socket write error..

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #269793 Reply

    Mican
    Member

    Hi..
    I know perhapsly that have nothing to do with myeclipe but perhaps sombody can help me. I use hibernate with rcp (standalone tool).

    When I search something in my application and put the result in the table. After some time with no actions (10-20 minutes) When I try to load the object after this time from the cache with lazy load.. i get a jdbc error that the connection is gone..
    Connection reset by peer: socket write error..
    ….

    some points:

    – after the search i dont close the session ( i need it for lazy loading)
    – i try jdbc:mysql://88******:3306/dbnamet?autoReconnect=true but it dont help
    – i read that when i dont close the session after a search the java garbage collector garbage teh objects and also the session.. is this right?

    thank you for your helps

    #269805 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Connection reset by peer: socket write error..

You must be logged in to post in the forum log in