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 2008/05/21 13:05:55 UTC
[jira] Resolved: (SYNAPSE-322) AbstractTransport listener adds the
observer twice
[ https://issues.apache.org/jira/browse/SYNAPSE-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruwan Linton resolved SYNAPSE-322.
----------------------------------
Resolution: Fixed
Fixed on the 1.2 branch
> AbstractTransport listener adds the observer twice
> --------------------------------------------------
>
> Key: SYNAPSE-322
> URL: https://issues.apache.org/jira/browse/SYNAPSE-322
> Project: Synapse
> Issue Type: Bug
> Components: Transports
> Affects Versions: 1.2-QA-B3
> Reporter: Ruwan Linton
> Assignee: Ruwan Linton
> Priority: Blocker
> Fix For: 1.2
>
>
> AbstractTransportListener adds the axisobserver for service management tasks twice. First time inside the init method and then on the start method. When you do ListenerManager.addListener() in axis2 it will first init the listener and then start the listener.
> There fore according to the above behavior there are two observer references to a particular transport in the observerlist of the AxisConfiguration
> This does not affect the normal path, but if you try to undeploy a service it will be invoked twice and tries to remove the JMX MBeans twice which leads to an exception.
--
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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
Synpase not sending 500 error code
Posted by "Venkatesan, Kumaran" <Ku...@in.standardchartered.com>.
Synapse not sending the http status code as 500 for the soap fault
message received from the back end service as below.
2008-05-21 18:00:56,237 [-] [WebContainer : 0] DEBUG content >>
"</SOAP-ENV:Envelope>"
2008-05-21 18:00:56,237 [-] [WebContainer : 0] DEBUG
EntityEnclosingMethod Request body sent
2008-05-21 18:00:57,010 [-] [WebContainer : 0] DEBUG header << "HTTP/1.1
500 Internal Server Error[\r][\n]"
By default synapse sends http response code 200 for all requests even
for fault messages.
Synapse.xml
<definitions xmlns="http://ws.apache.org/ns/synapse">
<sequence name="errorHandler">
<class name="com.scb.common.mediators.ProxyFaultMediator"/>
<property name="RESPONSE" value="true" /> -->
<send/>
</sequence>
<sequence name="main" onError="errorHandler">
<in>
<class name="com.scb.common.mediators.UserValidationMediator"/>
<class name="com.scb.common.mediators.ServiceProxyMediator"/>
<drop/>
</in>
<out>
<send/>
</out>
</sequence>
</definitions>
Pls any solution for this issue.
This email and any attachments are confidential and may also be privileged. If you are not the addressee, do not disclose, copy, circulate or in any other way use or rely on the information contained in this email or any attachments. If received in error, notify the sender immediately and delete this email and any attachments from your system. Emails cannot be guaranteed to be secure or error free as the message and any attachments could be intercepted, corrupted, lost, delayed, incomplete or amended. Standard Chartered PLC and its subsidiaries do not accept liability for damage caused by this email or any attachments and may monitor email traffic.
Standard Chartered PLC is incorporated in England with limited liability under company number 966425 and has its registered office at 1 Aldermanbury Square, London, EC2V 7SB.
Standard Chartered Bank ("SCB") is incorporated in England with limited liability by Royal Charter 1853, under reference ZC18. The Principal Office of SCB is situated in England at 1 Aldermanbury Square, London EC2V 7SB. In the United Kingdom, SCB is authorised and regulated by the Financial Services Authority under FSA register number 114276.
If you are receiving this email from SCB outside the UK, please click http://www.standardchartered.com/global/email_disclaimer.html to refer to the information on other jurisdictions.