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

Hiranya Jayathilaka resolved SYNAPSE-881.
-----------------------------------------

    Resolution: Fixed

I believe this is fixed now. I tested this scenario when testing SYNAPSE-883 
and this error was no longer observed. We now also have an integration test 
that runs a similar scenario at build time for verification.

Dushan, feel free to reopen with more details, if the issue still persists. 
We're going to need a sample configuration and instructions to reproduce the 
issue.
                
> When SynapseRecevieCallback handler receives SOAP fault from backend then 
> synapse Message helper always try to cast SOAP Fault  detail entries to  
> OMElement without type checking 
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-881
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-881
>             Project: Synapse
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>         Environment: Ubuntu 64x 12.04
>            Reporter: Dushan Sachinda Abeyruwan
>            Assignee: Andreas Veithen
>             Fix For: FUTURE
>
>         Attachments: Sysnapse_message_helper_patch.patch
>
>
> er Error For : 127.0.0.1:8088 For Request : Axis2Request [Message ID : 
> urn:uuid:5af24cbf-73c7-4c68-8cc3-6ceedd17dbbb] [Status Completed : true] 
> [Status SendingCompleted : true]
> [2012-06-23 17:09:57,463] ERROR - NativeWorkerPool Uncaught exception
> java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMTextImpl cannot 
> be cast to org.apache.axiom.om.OMElement
>       at 
> org.apache.synapse.util.MessageHelper.cloneSOAPFault(MessageHelper.java:441)
>       at 
> org.apache.synapse.util.MessageHelper.cloneSOAPEnvelope(MessageHelper.java:254)
>       at 
> org.apache.synapse.core.axis2.SOAPUtils.convertSOAP11toSOAP12(SOAPUtils.java:95)
>       at 
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:323)
>       at 
> org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:160)
>       at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
>       at 
> org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:275)
>       at 
> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)
> [2012-06-23 17:10:57,481]  INFO - HTTPSender Unable to sendViaPost to 
> url[http://localhost:8280/services/TestProxy.TestProxyHttpSoap12Endpoint]
> java.net.SocketTimeoutException: Read timed out
>       at java.net.SocketInputStream.socketRead0(Native Method)
>       at java.net.SocketInputStream.read(SocketInputStream.java:129)
>       at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>       at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
>       at 
> org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
>       at 
> org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
>       at 
> org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
>       at 
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
>       at 
> org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
>       at 
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
>       at 
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
>       at 
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
>       at 
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>       at 
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>       at 
> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621)
>       at 
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
>       at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
>       at 
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:449)
>       at 
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:276)
>       at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
>       at 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
>       

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to