Mailing List
Home
Forum Home
Maven - Project building tool
Axis - Java SOAP implementation
Lucene - Full-featured text search engine APIs
Cocoon - MVC web framework based on XML/XSL
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
Log4J - A log library
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database error code ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Servlet File Download dialog problem (IE6,Adobe 6 0)
Proposal: Adding jar manifest classpath in jar and war plugins
Unsupported major minor version 48 0 problem while running the an
   telope task
java security AccessControlException: access denied (java io FilePermission
axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
jsp data into Excel
Classpath problem
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Running junit tests fails
XDoclet, Struts and Maven: Where to start? SOLUTION
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
AXIS: tomcat timeout ?
 
AxisFault, socket write error, for large payloads

AxisFault, socket write error, for large payloads

2006-12-21       - By thilina Gunarathne

 Back
Please try increasing the socket timeout using HTTPConstants.SO_TIMEOUT
http://wso2.org/library/230#SO_TIMEOUT

~Thilina

On 12/21/06, Shine, Kenneth <kshine@(protected)> wrote:
> Hi,
>
> We are making a web service calls from Tomcat 5.0.28 using Axis 1.4 to a web
service in a Sun App Server.  We are able to successfully invoke web services
from Tomcat (that is, our web service client is in Tomcat).  But when we make
calls with payloads over 2.5 MB, we get socket write errors.  The stack trace
is shown below.
>
> I know that this is similar to known bug, http://issues.apache.org/jira
/browse/AXIS-1253 (See http://XIS-1253.ora-code.com), but that is listed as fixed well before Axis 1.4 was released
.
>
> Thanks in advance for any help with this.
>
> Ken Shine
>
>
>  Exception while sending the webservice message
> org.apache.axis2.AxisFault Source code of org.apache.axis2.AxisFault: Software caused connection abort: socket write
error; nested exception is:
>  com.ctc.wstx.exc.WstxIOException: Software caused connection abort: socket
write error; nested exception is:
>  org.apache.axis2.AxisFault Source code of org.apache.axis2.AxisFault: Software caused connection abort: socket write
error; nested exception is:
>  com.ctc.wstx.exc.WstxIOException: Software caused connection abort: socket
write error; nested exception is:
>  org.apache.axis2.AxisFault Source code of org.apache.axis2.AxisFault: Software caused connection abort: socket write
error; nested exception is:
>  com.ctc.wstx.exc.WstxIOException: Software caused connection abort: socket
write error; nested exception is:
>  org.apache.axis2.AxisFault Source code of org.apache.axis2.AxisFault: Software caused connection abort: socket write
error; nested exception is:
>  com.ctc.wstx.exc.WstxIOException: Software caused connection abort: socket
write error
>  at org.apache.axis2.transport.http.CommonsHTTPTransportSender Source code of org.apache.axis2.transport.http.CommonsHTTPTransportSender
(CommonsHTTPTransportSender.java:227)
>  at org.apache.axis2.engine.AxisEngine Source code of org.apache.axis2.engine.AxisEngine(AxisEngine.java:638)
>  at org.apache.axis2.description.OutInAxisOperationClient.send
(OutInAxisOperation.java:353)
>  at org.apache.axis2.description.OutInAxisOperationClient.execute
(OutInAxisOperation.java:284)
>  at org.apache.axis2.client.ServiceClient Source code of org.apache.axis2.client.ServiceClient(ServiceClient.java:538)
>  at org.apache.axis2.client.ServiceClient Source code of org.apache.axis2.client.ServiceClient(ServiceClient.java:472)
>
>
>
> Caused by: org.apache.axis2.AxisFault Source code of org.apache.axis2.AxisFault: Software caused connection abort:
socket write error; nested exception is:
>  com.ctc.wstx.exc.WstxIOException: Software caused connection abort: socket
write error; nested exception is:
>  org.apache.axis2.AxisFault Source code of org.apache.axis2.AxisFault: Software caused connection abort: socket write
error; nested exception is:
>  com.ctc.wstx.exc.WstxIOException: Software caused connection abort: socket
write error
>  at org.apache.axis2.transport.http.CommonsHTTPTransportSender Source code of org.apache.axis2.transport.http.CommonsHTTPTransportSender
.writeMessageWithCommons(CommonsHTTPTransportSender.java:314)
>  at org.apache.axis2.transport.http.CommonsHTTPTransportSender Source code of org.apache.axis2.transport.http.CommonsHTTPTransportSender
(CommonsHTTPTransportSender.java:206)
>  ... 11 more
> Caused by: org.apache.axis2.AxisFault Source code of org.apache.axis2.AxisFault: Software caused connection abort:
socket write error; nested exception is:
>  com.ctc.wstx.exc.WstxIOException: Software caused connection abort: socket
write error
>  at org.apache.axis2.transport.http.SOAPOverHTTPSender Source code of org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity
.writeRequest(SOAPOverHTTPSender.java:219)
>  at org.apache.commons.httpclient.methods.EntityEnclosingMethod Source code of org.apache.commons.httpclient.methods.EntityEnclosingMethod
.writeRequestBody(EntityEnclosingMethod.java:495)
>  at org.apache.commons.httpclient.HttpMethodBase Source code of org.apache.commons.httpclient.HttpMethodBase(HttpMethodBase
.java:1973)
>  at org.apache.commons.httpclient.HttpMethodBase Source code of org.apache.commons.httpclient.HttpMethodBase(HttpMethodBase.java
:993)
>  at org.apache.commons.httpclient.HttpMethodDirector Source code of org.apache.commons.httpclient.HttpMethodDirector
(HttpMethodDirector.java:397)
>  at org.apache.commons.httpclient.HttpMethodDirector Source code of org.apache.commons.httpclient.HttpMethodDirector
(HttpMethodDirector.java:170)
>  at org.apache.commons.httpclient.HttpClient Source code of org.apache.commons.httpclient.HttpClient(HttpClient.java
:396)
>  at org.apache.commons.httpclient.HttpClient Source code of org.apache.commons.httpclient.HttpClient(HttpClient.java
:346)
>  at org.apache.axis2.transport.http.AbstractHTTPSender Source code of org.apache.axis2.transport.http.AbstractHTTPSender
(AbstractHTTPSender.java:660)
>  at org.apache.axis2.transport.http.SOAPOverHTTPSender Source code of org.apache.axis2.transport.http.SOAPOverHTTPSender
(SOAPOverHTTPSender.java:110)
>  at org.apache.axis2.transport.http.CommonsHTTPTransportSender Source code of org.apache.axis2.transport.http.CommonsHTTPTransportSender
.writeMessageWithCommons(CommonsHTTPTransportSender.java:308)
>  ... 12 more
> Caused by: com.ctc.wstx.exc.WstxIOException: Software caused connection abort
: socket write error
>  at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java
:439)
>  at org.apache.axiom.om.impl.MTOMXMLStreamWriter Source code of org.apache.axiom.om.impl.MTOMXMLStreamWriter
(MTOMXMLStreamWriter.java:195)
>  at org.apache.axiom.om.impl.llom.OMTextImpl Source code of org.apache.axiom.om.impl.llom.OMTextImpl(OMTextImpl.java:220)
>  at org.apache.axiom.om.impl.llom.OMTextImpl Source code of org.apache.axiom.om.impl.llom.OMTextImpl
(OMTextImpl.java:409)
>  at org.apache.axiom.om.impl.llom.OMTextImpl Source code of org.apache.axiom.om.impl.llom.OMTextImpl
(OMTextImpl.java:403)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:782)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:811)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:782)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:811)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:782)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:811)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:782)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:811)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:782)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:811)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:782)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:811)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:782)
>  at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl Source code of org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl
(SOAPEnvelopeImpl.java:177)
>  at org.apache.axiom.om.impl.llom.OMElementImpl Source code of org.apache.axiom.om.impl.llom.OMElementImpl
(OMElementImpl.java:811)
>  at org.apache.axiom.om.impl.llom.OMNodeImpl Source code of org.apache.axiom.om.impl.llom.OMNodeImpl(OMNodeImpl
.java:378)
>  at org.apache.axis2.transport.http.SOAPOverHTTPSender Source code of org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity
.handleOMOutput(SOAPOverHTTPSender.java:169)
>  at org.apache.axis2.transport.http.SOAPOverHTTPSender Source code of org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity
.writeRequest(SOAPOverHTTPSender.java:205)
>  ... 22 more
> Caused by: java.net.SocketException Source code of java.net.SocketException: Software caused connection abort: socket
write error
>  at java.net.SocketOutputStream.socketWrite0(Native Method)
>  at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>  at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>  at java.io.BufferedOutputStream Source code of java.io.BufferedOutputStream(BufferedOutputStream.java:65)
>  at java.io.BufferedOutputStream Source code of java.io.BufferedOutputStream(BufferedOutputStream.java:104)
>  at org.apache.commons.httpclient.ChunkedOutputStream Source code of org.apache.commons.httpclient.ChunkedOutputStream
(ChunkedOutputStream.java:120)
>  at org.apache.commons.httpclient.ChunkedOutputStream Source code of org.apache.commons.httpclient.ChunkedOutputStream
(ChunkedOutputStream.java:178)
>  at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
>  at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
>  at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
>  at java.io.OutputStreamWriter Source code of java.io.OutputStreamWriter(OutputStreamWriter.java:191)
>  at java.io.BufferedWriter Source code of java.io.BufferedWriter(BufferedWriter.java:170)
>  at com.ctc.wstx.io.UTFTextWriter.write(UTFTextWriter.java:121)
>  at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java
:437)
>  ... 44 more
>
>
>
>
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: axis-user-unsubscribe@(protected)
> For additional commands, e-mail: axis-user-help@(protected)
>
>


--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: axis-user-unsubscribe@(protected)
For additional commands, e-mail: axis-user-help@(protected)