karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoli Ding (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-1414) Status of event handler persistence is broken
Date Fri, 27 Apr 2012 06:26:09 GMT
Xiaoli Ding created KARAF-1414:
----------------------------------

             Summary: Status of event handler persistence is broken
                 Key: KARAF-1414
                 URL: https://issues.apache.org/jira/browse/KARAF-1414
             Project: Karaf
          Issue Type: Bug
          Components: cellar-core
         Environment: Karaf-2.2.7-SNAPSHOT from 20120426
            Reporter: Xiaoli Ding


- Start  Karaf and install cellar
- there are one node in default group
- stop one event handler by  'cluster:handler-stop'
{panel}
karaf@trun> cluster:handler-stop  org.apache.karaf.cellar.features.FeaturesEventHandler
Node                 Status  Event Handler
xlding:5701          ON      org.apache.karaf.cellar.config.ConfigurationEventHandler
xlding:5701          ON      org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
xlding:5701          ON      org.apache.karaf.cellar.bundle.BundleEventHandler
xlding:5701          OFF     org.apache.karaf.cellar.features.FeaturesEventHandler
{panel}
- check the status of the stoped handler,the status is 'off' as expexted
{panel}
karaf@trun> cluster:handler-status
Node                 Status  Event Handler
xlding:5701          ON      org.apache.karaf.cellar.config.ConfigurationEventHandler
xlding:5701          ON      org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
xlding:5701          ON      org.apache.karaf.cellar.bundle.BundleEventHandler
xlding:5701          OFF     org.apache.karaf.cellar.features.FeaturesEventHandler
{panel}
- but after restart the karaf ,then check the event handler status:
{panel}
karaf@trun> cluster:handler-status
Node                 Status  Event Handler
xlding:5701          ON      org.apache.karaf.cellar.config.ConfigurationEventHandler
xlding:5701          ON      org.apache.karaf.cellar.dosgi.RemoteServiceCallHandler
xlding:5701          ON      org.apache.karaf.cellar.bundle.BundleEventHandler
xlding:5701          ON     org.apache.karaf.cellar.features.FeaturesEventHandler
{panel}
the status is 'on',should be 'off'.


--
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

        

Mime
View raw message