axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piyush Khera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5487) Attempted read on closed stream - II
Date Tue, 28 Apr 2015 08:23:06 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14516637#comment-14516637
] 

Piyush Khera commented on AXIS2-5487:
-------------------------------------

I am facing a similar issue in BuilderUtil.getCharSetEncoding(PushbackInputStream is2, String
defaultEncoding)
I get "java.io.IOException: Attempted read on closed stream."

*StackTrace*
{Code}
[org.apache.commons.httpclient.AutoCloseInputStream.isReadAllowed(AutoCloseInputStream.java:183),
org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:107), java.io.FilterInputStream.read(FilterInputStream.java:133),
org.apache.axiom.om.util.DetachableInputStream.read(DetachableInputStream.java:147), java.io.FilterInputStream.read(FilterInputStream.java:133),
java.io.PushbackInputStream.read(PushbackInputStream.java:186), org.apache.axis2.builder.BuilderUtil.getCharSetEncoding(BuilderUtil.java:294),
org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:51), org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:179),
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145), org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108),
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67), org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354),
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421), org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229),
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165), com.sforce.soap.partner.SforceServiceStub.login(SforceServiceStub.java:12929),
com.birst.connectors.salesforce.SalesforceConnector.login(SalesforceConnector.java:161), com.birst.connectors.salesforce.SalesforceConnector.connect(SalesforceConnector.java:105),
com.birst.connectors.IConnectorServlet.connect(IConnectorServlet.java:1888), com.birst.connectors.IConnectorServlet.doPost(IConnectorServlet.java:452),
javax.servlet.http.HttpServlet.service(HttpServlet.java:647), javax.servlet.http.HttpServlet.service(HttpServlet.java:728),
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305),
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210),
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222), org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123),
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472), org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171),
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99), org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947),
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118), org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408),
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009),
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589),
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145),
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615), java.lang.Thread.run(Thread.java:722)]
{Code}

Axis Version 1.6.2
HttpClient version 4.2.5

> Attempted read on closed stream - II
> ------------------------------------
>
>                 Key: AXIS2-5487
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5487
>             Project: Axis2
>          Issue Type: Bug
>          Components: client-api
>    Affects Versions: 1.6.2
>         Environment: Windows XP SP2, JDK 1.7, AXIS2-1.6.2, Jetty 7.2.0
>            Reporter: Espen Rydningen
>              Labels: apache-mime4j-core-0.7.2, axiom_1.2.13, axis2_1.6.2
>             Fix For: 1.7.0
>
>         Attachments: DebugAndStacktrace.txt, wsRequest.txt, wsResponse.txt
>
>
> After upgrading from Axis2 1.5.6 to Axis2 1.6.2 we started receiving this "org.apache.axiom.om.OMException:
java.io.IOException: Attempted read on closed stream." 
> WS request and response is attached
> Debug log and stacktrace is attached



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message