You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Jennifer Wang <je...@cisco.com> on 2007/05/09 22:02:04 UTC
HTTPTransportException:Output streaming error
Hello,
We're using Axis C++ 1.6b to implement client side of our application. The
server is running on tomcat with Axis.
We run into problem when sending message from the client. The error is:
"HTTPTransportException:Output streaming error on Channel while writing data
Channel error 32 while writing data: 'Broken pipe'"
Looking at ethereal output, we notice the header portion is written, but not
the message body. This only happens after our application is up for a
little while. If we try to send the same message at program start - right
after stub is created, then the message goes through fine.
We treid latest Axis C++ 1.6 (dated Aug 24, 2006) and Axis-1.4 on server
side, still the same problem.
Can someone tell us what could the problem be?
Thanks.
Jennifer
--
View this message in context: http://www.nabble.com/HTTPTransportException%3AOutput-streaming-error-tf3718024.html#a10401779
Sent from the Axis - C++ - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: HTTPTransportException:Output streaming error
Posted by Nadir Amra <am...@us.ibm.com>.
Jennifer,
The code does keep connections up unless certain conditions arise, such as
Connection:close in the HTTP header, or content-length not specified nor
is the data sent as chunked...But when it closes the connection it will
establish a new connection.
That seems strange. Can you take a SOAP trace using some tool like TCPMon
to see what is actually being sent across? Only thing I can think of is
the Web service must be closing the connection? That would be strange but
that is what Broken Pipe means - the other end broke the connection.
Nadir K. Amra
Jennifer Wang <je...@cisco.com> wrote on 05/16/2007 05:31:01 PM:
>
> Nadir,
>
> Yes, I rebuilt the latest code from SVN. Here is the exact error
message:
>
> "HTTPTransportException: Output streaming error while writing to
channel.
> Error is 32 - Broken pipe"
>
> Does the latest code not support persistent connection? I put in a
little
> hack - call setEndPointPoint() before each message is sent to force a
> re-connect, that seems to work. But not a good solution.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: HTTPTransportException:Output streaming error
Posted by Jennifer Wang <je...@cisco.com>.
Nadir,
Yes, I rebuilt the latest code from SVN. Here is the exact error message:
"HTTPTransportException: Output streaming error while writing to channel.
Error is 32 - Broken pipe"
Does the latest code not support persistent connection? I put in a little
hack - call setEndPointPoint() before each message is sent to force a
re-connect, that seems to work. But not a good solution.
Anything else I can try?
Jennifer
--
View this message in context: http://www.nabble.com/HTTPTransportException%3AOutput-streaming-error-tf3718024.html#a10655798
Sent from the Axis - C++ - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: HTTPTransportException:Output streaming error
Posted by Nadir Amra <am...@us.ibm.com>.
Jennifer,
Did you rebuild the code using latest code in SVN? From the error message
it does not appear to be the latest code that you are running with.
Nadir K. Amra
Jennifer Wang <je...@cisco.com> wrote on 05/16/2007 04:49:14 PM:
>
> Nadir,
>
> Thanks. I got wsdl2ws tool working after using jars from 1.6b release.
>
> However, I'm still getting same error when sending message:
>
> "HTTPTransportException:Output streaming error on Channel while writing
data
> Channel error 32 while writing data: 'Broken pipe'"
>
> This only happens after our application is up for a few minutes. Our
> application used to work fine when using an older version of Axis (when
it
> was C, not C++). Was there a re-connect mechanism in the older version
that
> is not in the C++ version? Does socket connection usually times out?
>
> Jennifer
>
> --
> View this message in context: http://www.nabble.
>
com/HTTPTransportException%3AOutput-streaming-error-tf3718024.html#a10655240
> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: HTTPTransportException:Output streaming error
Posted by Jennifer Wang <je...@cisco.com>.
Nadir,
Thanks. I got wsdl2ws tool working after using jars from 1.6b release.
However, I'm still getting same error when sending message:
"HTTPTransportException:Output streaming error on Channel while writing data
Channel error 32 while writing data: 'Broken pipe'"
This only happens after our application is up for a few minutes. Our
application used to work fine when using an older version of Axis (when it
was C, not C++). Was there a re-connect mechanism in the older version that
is not in the C++ version? Does socket connection usually times out?
Jennifer
--
View this message in context: http://www.nabble.com/HTTPTransportException%3AOutput-streaming-error-tf3718024.html#a10655240
Sent from the Axis - C++ - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: HTTPTransportException:Output streaming error
Posted by Nadir Amra <am...@us.ibm.com>.
Jennifer, The ones that come with the 1.6b release.
Nadir K. Amra
Jennifer Wang <je...@cisco.com> wrote on 05/15/2007 04:41:18 PM:
>
> Nadir,
>
> I compiled the latest source with Axis1.4 java libs. When running
wsdl2ws
> tool, I run into the following error:
>
> "Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.axis.wsdl.symbolTable.BindingEntry.getBindingStyle()
> Lorg/apache/axis/enum/Style;"
>
> I found one of your posts that suggested to uncomment the line
> //import org.apache.axis.constants.Style;
>
> in wsdl2ws.java and regenerate wsdl2ws tool. I did that, but still get
the
> same error.
>
> Which version of the jar files work with latest axis-C++ code? How do I
> resolve the above error?
>
> Jennifer
>
> --
> View this message in context: http://www.nabble.
>
com/HTTPTransportException%3AOutput-streaming-error-tf3718024.html#a10631768
> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: HTTPTransportException:Output streaming error
Posted by Jennifer Wang <je...@cisco.com>.
Nadir,
I compiled the latest source with Axis1.4 java libs. When running wsdl2ws
tool, I run into the following error:
"Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.axis.wsdl.symbolTable.BindingEntry.getBindingStyle()Lorg/apache/axis/enum/Style;"
I found one of your posts that suggested to uncomment the line
//import org.apache.axis.constants.Style;
in wsdl2ws.java and regenerate wsdl2ws tool. I did that, but still get the
same error.
Which version of the jar files work with latest axis-C++ code? How do I
resolve the above error?
Jennifer
--
View this message in context: http://www.nabble.com/HTTPTransportException%3AOutput-streaming-error-tf3718024.html#a10631768
Sent from the Axis - C++ - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org
Re: HTTPTransportException:Output streaming error
Posted by Nadir Amra <am...@us.ibm.com>.
Jennifer,
I would suggest you build the code your self so you get the latest code
updates in SVN. There are numerous fixes in SVN since 1.6b.
Nadir K. Amra
Jennifer Wang <je...@cisco.com> wrote on 05/09/2007 03:02:04 PM:
>
> Hello,
>
> We're using Axis C++ 1.6b to implement client side of our application.
The
> server is running on tomcat with Axis.
>
> We run into problem when sending message from the client. The error is:
>
> "HTTPTransportException:Output streaming error on Channel while writing
data
> Channel error 32 while writing data: 'Broken pipe'"
>
> Looking at ethereal output, we notice the header portion is written, but
not
> the message body. This only happens after our application is up for a
> little while. If we try to send the same message at program start -
right
> after stub is created, then the message goes through fine.
>
> We treid latest Axis C++ 1.6 (dated Aug 24, 2006) and Axis-1.4 on server
> side, still the same problem.
>
> Can someone tell us what could the problem be?
>
> Thanks.
> Jennifer
>
> --
> View this message in context: http://www.nabble.
>
com/HTTPTransportException%3AOutput-streaming-error-tf3718024.html#a10401779
> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org