cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xilai Dai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-3700) the stopServer() method in ServerLifeCycleListener has been invoked twice when a service stopped
Date Wed, 03 Aug 2011 05:17:27 GMT

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

Xilai Dai updated CXF-3700:
---------------------------

    Attachment: testlifecycle.zip

testlifecycle project attached!
when undeployed testlifecycle.war from Tomcat, "Service stop!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
will be printed twice in the console.

> 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
>         Attachments: testlifecycle.zip
>
>
> 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

        

Mime
View raw message