you need to bump up the timeout. For which you need to use latest
nightly builds.

thanks,
dims

On 6/22/06, Wan Kaveevivitchai <[EMAIL PROTECTED]> wrote:
Dear All Axis2 users

            I am working on Axis2 1.0 version. I am now trying to send large
attachment file the size is about 10 MB. But it causes the error as follow.
Everything work file with the file in smaller size...approximate 5MB. I
don't think that it is something wrong with the code. But if anyone know
what is the problem please let me know. I am also enable the MTOM both on
client and server.

           Many thanks, looking forward to hear

            Sathita

Exception in thread "main" org.apache.axiom.om.OMException: Problem with the
OutputStream.
        at
org.apache.axiom.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:62)
        at
org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:127)
        at
org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:382)
        at
org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.handleOMOutput(SOAPOverHTTPSender.java:145)
        at
org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.writeRequest(SOAPOverHTTPSender.java:180)
        at
org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495)
        at
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973)
        at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
        at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
        at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
        at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
        at
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:530)
        at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:92)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:299)
        at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:207)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
        at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:328)
        at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
        at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
        at fileT.fileC.sendFile(fileC.java:102)
        at fileT.fileC.main(fileC.java:50)
Caused by: java.net.SocketException: Broken pipe
        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.flushBuffer(BufferedOutputStream.java:66)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:110)
        at
org.apache.commons.httpclient.WireLogOutputStream.write(WireLogOutputStream.java:67)
        at
org.apache.commons.httpclient.ChunkedOutputStream.flushCacheWithAppend(ChunkedOutputStream.java:121)
        at
org.apache.commons.httpclient.ChunkedOutputStream.write(ChunkedOutputStream.java:178)
        at javax.activation.DataHandler.writeTo(DataHandler.java:85)
        at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:222)
        at
org.apache.axiom.om.impl.MIMEOutputUtils.writeBodyPart(MIMEOutputUtils.java:112)
        at
org.apache.axiom.om.impl.MIMEOutputUtils.complete(MIMEOutputUtils.java:57)
        ... 22 more



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




--
Davanum Srinivas : http://people.apache.org/~dims/

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

Reply via email to