You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Ruwan Linton (JIRA)" <ji...@apache.org> on 2007/12/14 06:39:43 UTC

[jira] Updated: (SYNAPSE-103) WS-RM not returning response message

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

Ruwan Linton updated SYNAPSE-103:
---------------------------------

    Fix Version/s: 1.2

changed the fix version

> WS-RM not returning response message
> ------------------------------------
>
>                 Key: SYNAPSE-103
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-103
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-RC2-B2
>         Environment: Windows XP Professional
>            Reporter: Tijs Rademakers
>             Fix For: 1.2
>
>
> I am experiencing a problem with the WS-RM support version 1.0. The response message is not retrieved by Synapse from the WS-RM conversation. The error message that I get is shown at the bottom of this description. This exception can be reproduced when you use sample 53 of Synapse. The ReliableStockQuoteService aar contains a wsdl file, when the wsdl file is deleted from the aar file, this problem occurs. It seems that when the processing of the response message in the web service takes more time the error occurs. I use a RawXMLINOutMessageReceiver and built the OMElement myself, then this problem also occurs. When I look in Tcpmon, the difference between using sample 53 as-is and without the wsdl is that the TerminateSequence message is sent in the same connection for sample 53 as-is and for the aar without the wsdl the TerminateSequence message is sent in a different connection.
> [Axis2 Task] ERROR InvokerWorker - org.apache.sandesha2.storage.SandeshaStorageException: Failed to load message due to exception org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException.
> org.apache.sandesha2.storage.SandeshaStorageException: Failed to load message due to exception org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException.
>         at org.apache.sandesha2.storage.inmemory.InMemoryStorageManager.retrieveMessageContext(InMemoryStorageManager.java:239)
>         at org.apache.sandesha2.workers.InvokerWorker.run(InvokerWorker.java:57)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException
>         at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:211)
>         at org.apache.axiom.om.impl.llom.OMNodeImpl.build(OMNodeImpl.java:315)
>         at org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:608)
>         at org.apache.axiom.om.impl.llom.OMElementImpl.cloneOMElement(OMElementImpl.java:943)
>         at org.apache.sandesha2.util.SandeshaUtil.cloneEnvelope(SandeshaUtil.java:984)
>         at org.apache.sandesha2.storage.inmemory.InMemoryStorageManager.retrieveMessageContext(InMemoryStorageManager.java:231)
>         ... 4 more
> Caused by: javax.xml.stream.XMLStreamException
>         at org.apache.axiom.om.impl.llom.OMStAXWrapper.updateLastNode(OMStAXWrapper.java:955)
>         at org.apache.axiom.om.impl.llom.OMStAXWrapper.next(OMStAXWrapper.java:900)
>         at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:125)
>         ... 9 more
> [I/O reactor worker thread 3] ERROR ClientHandler - I/O Error : Pipe closed
> java.io.IOException: Pipe closed
>         at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:190)
>         at java.io.PipedInputStream.receive(PipedInputStream.java:156)
>         at java.io.PipedOutputStream.write(PipedOutputStream.java:129)
>         at java.nio.channels.Channels$WritableByteChannelImpl.write(Channels.java:267)
>         at org.apache.axis2.transport.nhttp.ClientHandler.inputReady(ClientHandler.java:219)
>         at org.apache.axis2.transport.nhttp.LoggingNHttpClientHandler.inputReady(LoggingNHttpClientHandler.java:103)
>         at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:110)
>         at org.apache.axis2.transport.nhttp.PlainClientIOEventDispatch.inputReady(PlainClientIOEventDispatch.java:69)
>         at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:68)
>         at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:160)
>         at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:145)
>         at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:127)
>         at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:153)
>         at java.lang.Thread.run(Thread.java:595)

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


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