You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Colin (JIRA)" <ji...@apache.org> on 2009/03/03 18:58:56 UTC

[jira] Created: (ODE-537) Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.

Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
----------------------------------------------------------------------------------------------

                 Key: ODE-537
                 URL: https://issues.apache.org/jira/browse/ODE-537
             Project: ODE
          Issue Type: Bug
    Affects Versions: 1.3
            Reporter: Colin


This exception occurs when turning off debug logging.

ERROR - GeronimoLog.error(108) | Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
        at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:239)
        at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
        at org.apache.axiom.om.impl.traverse.OMChildElementIterator.next(OMChildElementIterator.java:104)
        at org.apache.ode.axis2.util.SoapMessageConverter.extractSoapBodyParts(SoapMessageConverter.java:389)
        at org.apache.ode.axis2.util.SoapMessageConverter.parseSoapResponse(SoapMessageConverter.java:334)
        at org.apache.ode.axis2.SoapExternalService$4.call(SoapExternalService.java:481)
        at org.apache.ode.axis2.SoapExternalService$4.call(SoapExternalService.java:452)
        at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
        at org.apache.ode.scheduler.simple.SimpleScheduler$1.call(SimpleScheduler.java:188)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
        at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
        at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
        at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:153)
        ... 13 more
Caused by: java.io.IOException: Attempted read on closed stream.
        at org.apache.commons.httpclient.AutoCloseInputStream.isReadAllowed(AutoCloseInputStream.java:165)
        at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:106)
        at java.io.FilterInputStream.read(Unknown Source)
        at java.io.PushbackInputStream.read(Unknown Source)
        at java.io.FilterInputStream.read(Unknown Source)
        at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362)
        at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110)
        at com.ctc.wstx.io.MergedReader.read(MergedReader.java:101)
        at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
        at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
        at com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1021)
        at com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1028)
        at com.ctc.wstx.sr.StreamScanner.getNextInCurrAfterWS(StreamScanner.java:867)
        at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:2961)
        at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2934)
        at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2846)
        at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
        ... 14 more
ERROR - GeronimoLog.error(104) | Failure during invoke: Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.

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


[jira] Closed: (ODE-537) Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.

Posted by "Alexis Midon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexis Midon closed ODE-537.
----------------------------

    Resolution: Duplicate
      Assignee: Alexis Midon

> Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
> ----------------------------------------------------------------------------------------------
>
>                 Key: ODE-537
>                 URL: https://issues.apache.org/jira/browse/ODE-537
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Colin
>            Assignee: Alexis Midon
>         Attachments: ode-537.patch
>
>
> This exception occurs when turning off debug logging.
> ERROR - GeronimoLog.error(108) | Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
> org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
>         at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:239)
>         at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
>         at org.apache.axiom.om.impl.traverse.OMChildElementIterator.next(OMChildElementIterator.java:104)
>         at org.apache.ode.axis2.util.SoapMessageConverter.extractSoapBodyParts(SoapMessageConverter.java:389)
>         at org.apache.ode.axis2.util.SoapMessageConverter.parseSoapResponse(SoapMessageConverter.java:334)
>         at org.apache.ode.axis2.SoapExternalService$4.call(SoapExternalService.java:481)
>         at org.apache.ode.axis2.SoapExternalService$4.call(SoapExternalService.java:452)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$1.call(SimpleScheduler.java:188)
>         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>         at java.util.concurrent.FutureTask.run(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
>         at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
>         at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:153)
>         ... 13 more
> Caused by: java.io.IOException: Attempted read on closed stream.
>         at org.apache.commons.httpclient.AutoCloseInputStream.isReadAllowed(AutoCloseInputStream.java:165)
>         at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:106)
>         at java.io.FilterInputStream.read(Unknown Source)
>         at java.io.PushbackInputStream.read(Unknown Source)
>         at java.io.FilterInputStream.read(Unknown Source)
>         at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362)
>         at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110)
>         at com.ctc.wstx.io.MergedReader.read(MergedReader.java:101)
>         at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
>         at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
>         at com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1021)
>         at com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1028)
>         at com.ctc.wstx.sr.StreamScanner.getNextInCurrAfterWS(StreamScanner.java:867)
>         at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:2961)
>         at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2934)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2846)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
>         ... 14 more
> ERROR - GeronimoLog.error(104) | Failure during invoke: Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.

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


[jira] Updated: (ODE-537) Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.

Posted by "Colin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin updated ODE-537:
----------------------

    Attachment: ode-537.patch

The response stream seemed to disappear during the reply method call.... 

The attached patch got ODE working for me..

> Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
> ----------------------------------------------------------------------------------------------
>
>                 Key: ODE-537
>                 URL: https://issues.apache.org/jira/browse/ODE-537
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Colin
>         Attachments: ode-537.patch
>
>
> This exception occurs when turning off debug logging.
> ERROR - GeronimoLog.error(108) | Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
> org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
>         at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:239)
>         at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
>         at org.apache.axiom.om.impl.traverse.OMChildElementIterator.next(OMChildElementIterator.java:104)
>         at org.apache.ode.axis2.util.SoapMessageConverter.extractSoapBodyParts(SoapMessageConverter.java:389)
>         at org.apache.ode.axis2.util.SoapMessageConverter.parseSoapResponse(SoapMessageConverter.java:334)
>         at org.apache.ode.axis2.SoapExternalService$4.call(SoapExternalService.java:481)
>         at org.apache.ode.axis2.SoapExternalService$4.call(SoapExternalService.java:452)
>         at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:208)
>         at org.apache.ode.scheduler.simple.SimpleScheduler$1.call(SimpleScheduler.java:188)
>         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>         at java.util.concurrent.FutureTask.run(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.
>         at com.ctc.wstx.sr.StreamScanner.throwFromIOE(StreamScanner.java:683)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1086)
>         at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:153)
>         ... 13 more
> Caused by: java.io.IOException: Attempted read on closed stream.
>         at org.apache.commons.httpclient.AutoCloseInputStream.isReadAllowed(AutoCloseInputStream.java:165)
>         at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:106)
>         at java.io.FilterInputStream.read(Unknown Source)
>         at java.io.PushbackInputStream.read(Unknown Source)
>         at java.io.FilterInputStream.read(Unknown Source)
>         at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362)
>         at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110)
>         at com.ctc.wstx.io.MergedReader.read(MergedReader.java:101)
>         at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
>         at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
>         at com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1021)
>         at com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1028)
>         at com.ctc.wstx.sr.StreamScanner.getNextInCurrAfterWS(StreamScanner.java:867)
>         at com.ctc.wstx.sr.BasicStreamReader.handleNsAttrs(BasicStreamReader.java:2961)
>         at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2934)
>         at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2846)
>         at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
>         ... 14 more
> ERROR - GeronimoLog.error(104) | Failure during invoke: Unable to process response: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream.

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