Re: mysql access exception after a long time
Re: mysql access exception after a long time
- Subject: Re: mysql access exception after a long time
- From: Chuck Hill <email@hidden>
- Date: Mon, 22 Jul 2013 23:50:28 -0700
Broken pipe usually indicates communication problems with the client, nothing to do with the database.
Chuck
On 2013-07-22, at 11:29 PM, Pierre Gilquin wrote:
> 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
--
Chuck Hill
Executive Managing Partner, VP Development and Technical Services
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
_______________________________________________
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