Hi all,

In AxisSericeTracker@stop() method, it retrieves the observers list from
the AxisConfiguration and removes the already added AxisSericeTracker
observer[1]. But what is returned from AxisConfiguration is a copy of
actual observers, hence this removal doesn not actually happens.

config.getObserversList().remove(observer);

This causes issues when transports are updated at runtime.

I noticed that this is fixed in axis2 trunk by adding removeObserver method
to AxisConfiguration.java. Therefore I will be adding the same fix.

[1]
https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/dependencies/transports/1.1.0-wso2v9/modules/base/src/main/java/org/apache/axis2/transport/base/tracker/AxisServiceTracker.java

Thanks,
Lakmali

-- 
Lakmali Baminiwatta
 Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to