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/11/18 17:05:58 UTC

[jira] [Created] (FELIX-5421) cfg and jar file deploy when Karaf is offline

Scott Leschke created FELIX-5421:
------------------------------------

             Summary: cfg and jar file deploy when Karaf is offline
                 Key: FELIX-5421
                 URL: https://issues.apache.org/jira/browse/FELIX-5421
             Project: Felix
          Issue Type: Bug
    Affects Versions: fileinstall-3.5.2
            Reporter: Scott Leschke


if a .cfg file or jar file is overwritten in a hot deploy folder while Karaf is NOT running, the change is not recognized when Karaf starts up so services and bundles retain their previous state.

If the file is overwritten again with the same version while Karaf is running, the modification is still not recognized, I assume that's because the timestamps of the files are now the same.

If the files are touched so that the timestamps get updated and deployed while Karaf is running, the associated bundles/services are stopped/started as expected.
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)