You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Scott Leschke (JIRA)" <ji...@apache.org> on 2016/09/22 18:22:21 UTC

[jira] [Created] (FELIX-5357) cfg and jar file deletion inconsistency when Karaf is offline

Scott Leschke created FELIX-5357:
------------------------------------

             Summary: cfg and jar file deletion inconsistency when  Karaf is offline
                 Key: FELIX-5357
                 URL: https://issues.apache.org/jira/browse/FELIX-5357
             Project: Felix
          Issue Type: Bug
    Affects Versions: fileinstall-3.5.4
         Environment: Karaf 4.0.6.
            Reporter: Scott Leschke
            Priority: Minor


if a .cfg file is deleted while Karaf is running, the associated configuration record is deleted from Configuration Admin as well.  OTOH, if the file is deleted while Karaf is NOT running, the associated configuration record is retained when Karaf is started again. I would have expected that records for files that no longer exist would be deleted when configuration admin service starts.

Likewise, a similar behavior exists with .jar files. If a jar file is deleted while Karaf is running, the corresponding bundle is uninstalled. If the jar file is deleted while Karaf is offline, the corresponding bundle still exists in it's previous state when Karaf starts up again.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)