axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4149) MTOM Outputstream Error
Date Fri, 10 Jul 2009 22:39:14 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-4149.
------------------------------------

    Resolution: Incomplete

> MTOM Outputstream Error
> -----------------------
>
>                 Key: AXIS2-4149
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4149
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: Centos 5, Tomcat 6
>            Reporter: Daniel Hulme
>            Priority: Blocker
>
> When I try to upload a file using MTOM I get the following error:
> org.apache.axiom.om.OMException: Error while writing to the OutputStream.
> As far as I'm aware I have given Axis2.0 permissions (edited the catalina.policy file)
to read and write to the folder I am saving the file too. My app.aar works 100% with Ubuntu.
> With this stack trace in $CATALINA_HOME/logs/localhost.[date].log
> Nov 26, 2008 3:15:33 AM org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet AxisServlet threw exception
> org.apache.axiom.om.OMException: Error while writing to the OutputStream.
> 	at org.apache.axiom.om.impl.MIMEOutputUtils.writeSOAPWithAttachmentsMessage(MIMEOutputUtils.java:297)
> 	at org.apache.axis2.transport.http.SOAPMessageFormatter.writeSwAMessage(SOAPMessageFormatter.java:204)
> 	at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:74)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:337)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:214)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:530)
> 	at org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:416)
> 	at org.apache.axis2.transport.http.AxisServlet.processAxisFault(AxisServlet.java:379)
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:167)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: ClientAbortException:  java.net.SocketException: Broken pipe
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:319)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98)
> 	at org.apache.axiom.om.impl.MIMEOutputUtils.writeBodyPart(MIMEOutputUtils.java:248)
> 	at org.apache.axiom.om.impl.MIMEOutputUtils.writeSOAPWithAttachmentsMessage(MIMEOutputUtils.java:283)
> 	... 22 more
> 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 org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:740)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:964)
> 	at org.apache.coyote.Response.action(Response.java:183)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314)
> 	... 26 more
> Nov 26, 2008 3:15:33 AM org.apache.catalina.core.StandardHostValve custom
> SEVERE: Exception Processing ErrorPage[errorCode=500, location=/axis2-web/Error/error500.jsp]
> java.lang.IllegalStateException
> 	at org.apache.coyote.Response.reset(Response.java:297)
> 	at org.apache.catalina.connector.Response.reset(Response.java:658)
> 	at org.apache.catalina.connector.Response.reset(Response.java:925)
> 	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:417)
> 	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)
> 	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:287)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 	at java.lang.Thread.run(Thread.java:619)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message