• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mysql access exception after a long time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mysql access exception after a long time


  • Subject: Re: mysql access exception after a long time
  • From: Pierre Gilquin <email@hidden>
  • Date: Tue, 23 Jul 2013 08:29:22 +0200

Thanks Kieran,

I had this setting in my connection but I was not convinced that it was 100% safe.


May be because I mixed 2 independants problems ?

With jdbc utoReconnect set and MakeMySQLSuckALittleLess class from Hugi, I still get errors :
WARN  NSLog  - <WOWorkerThread id=14 socket=Socket[addr=/127.0.0.1,port=58919,localport=2027]> Exception while sending response: java.net.SocketException: Broken pipe


Is it related to mysql or it's a different problem ?

Thanks in advance


Pierre

Hugi ... that's overkill! Just add autoReconnect=true to the connection URL. :P ....... for example:

mydatabase.URL=jdbc:mysql://myhost/mydatabase?capitalizeTypenames=true&useBundledJdbcInfo=true&autoReconnect=true


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: mysql access exception after a long time
      • From: Kieran Kelleher <email@hidden>
    • Re: mysql access exception after a long time
      • From: Chuck Hill <email@hidden>
References: 
 >mysql access exception after a long time (From: Pierre Gilquin <email@hidden>)
 >Re: mysql access exception after a long time (From: Minh Thao Hoang <email@hidden>)
 >Re: mysql access exception after a long time (From: Pierre Gilquin <email@hidden>)
 >Re: mysql access exception after a long time (From: Hugi Thordarson <email@hidden>)
 >Re: mysql access exception after a long time (From: Ken Anderson <email@hidden>)
 >Re: mysql access exception after a long time (From: Pierre Gilquin <email@hidden>)
 >Re: mysql access exception after a long time (From: Hugi Thordarson <email@hidden>)
 >Re: mysql access exception after a long time (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: WOWODC 2013 presentations
  • Next by Date: Re: mysql access exception after a long time
  • Previous by thread: Re: mysql access exception after a long time
  • Next by thread: Re: mysql access exception after a long time
  • Index(es):
    • Date
    • Thread