synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miyuru Wanninayaka (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-791) InMemoryMessageStore fails to store message when using with servlet transport
Date Thu, 06 Oct 2011 05:36:29 GMT

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

Miyuru Wanninayaka updated SYNAPSE-791:
---------------------------------------

    Attachment:     (was: SYNAPSE-791.diff)
    
> InMemoryMessageStore fails to store message when using with servlet transport
> -----------------------------------------------------------------------------
>
>                 Key: SYNAPSE-791
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-791
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Miyuru Wanninayaka
>            Assignee: Charith Dhanushka Wickramarachchi
>
> Fails when tries to send message using a message processor because message envelop is
not persisted
> [2011-08-11 17:09:06,900]  INFO - HTTPSender Unable to sendViaPost to url[http://localhost:9000/services/SimpleStockQuoteService]
> org.apache.axis2.AxisFault: Trying to write END_DOCUMENT when document has no root (ie.
trying to output empty document).
> 	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
> 	at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:78)
> 	at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
> 	at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
> 	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
> 	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
> 	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.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:278)
> 	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
> 	at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:411)
> 	at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:57)
> 	at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:271)
> 	at org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:292)
> 	at org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:59)
> 	at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:87)
> 	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
> 	at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
> 	at org.apache.synapse.message.processors.sampler.SamplingJob$1.run(SamplingJob.java:80)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	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)
> Caused by: javax.xml.stream.XMLStreamException: Trying to write END_DOCUMENT when document
has no root (ie. trying to output empty document).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message