[ 
https://issues.apache.org/jira/browse/CXF-3700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078293#comment-13078293
 ] 

Daniel Kulp commented on CXF-3700:
----------------------------------


I checked our LifecycleTest and verified that in that case, the stopServer is 
only called once.  Thus, we'd need a testcase to see what is different in your 
case.


> the stopServer() method in ServerLifeCycleListener has been invoked twice 
> when a service stopped
> ------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3700
>                 URL: https://issues.apache.org/jira/browse/CXF-3700
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.4.1, 2.5
>            Reporter: Xilai Dai
>              Labels: ServerLifeCycleListener
>
> when implemented a ServerLifeCycleListener and register it to Bus, the 
> stopServer() method in ServerLifeCycleListener will be invoked twice when 
> stopped service.
> public class ServiceListenerImpl implements ServerLifeCycleListener{
>  public void stopServer(Server server) {
>    ......
>  }
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to