Sorry, I don't think the server-side has anything to do with it since it is
not being used for receiving data. It must have worked because I used the
beta 1 release.

Om.

----- Original Message -----
From: "Om Narayan" <[EMAIL PROTECTED]>
To: "Commons HttpClient Project" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 2:29 PM
Subject: Re: IOException Broken pipe


> I found the problem very quickly once figured out that the broken pipe is
> usually caused because the server terminates the communication before the
> client expects it.
>
> My problem was caused because the server-side had HttpClient 2.0 beta 1
code
> and the client side was using 2.0 alpha 3!
> Once I got the two in sync, everything went fine.
>
> Om.
>
> ----- Original Message -----
> From: "Michael Becke" <[EMAIL PROTECTED]>
> To: "Commons HttpClient Project"
<[EMAIL PROTECTED]>
> Sent: Friday, June 06, 2003 2:08 PM
> Subject: Re: IOException Broken pipe
>
>
> > Om,
> >
> > Which version of HttpClient are you using?  Could you give some more
> > detail about when this error occurs?  Sample code or a log perhaps.
> >
> > Thanks,
> >
> > Mike
> >
> > Om Narayan wrote:
> > > This is probably not directly related to HttpClient module, but I am
> getting the following IOException, and am hoping that someone maybe able
to
> enlighten me. It is not consistent, so makes it harder to track down.
> Thanks.
> > >
> > > Om.
> > >
> > > DEBUG Thread-1 org.apache.commons.httpclient.HttpConnection -
> > > HttpConnection: Exception while writing data
> > > java.io.IOException: Broken pipe
> > >         at java.net.SocketOutputStream.socketWrite(Native Method)
> > >         at
java.net.SocketOutputStream.write(SocketOutputStream.java:83)
> > >         at
> > >
org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:7
> > > 53)
> > >         at
> > >
org.apache.commons.httpclient.HttpConnection.write(HttpConnection.java:7
> > > 14)
> > >         at
> > >
org.apache.commons.httpclient.HttpConnection.print(HttpConnection.java:8
> > > 31)
> > >         at
> > >
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpCon
> > > nectionAdapter.print(MultiThreadedHttpConnectionManager.java:661)
> > >         at
> > >
org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMet
> > > hodBase.java:2056)
> > >         at
> > >
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase
> > > .java:1991)
> > >         at
> > >
org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBa
> > > se.java:2282)
> > >         at
> > >
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java
> > > :960)
> > >         at
> > >
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:5
> > > 78)
> > >         at
> > >
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:4
> > > 77)
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to