[
https://issues.apache.org/jira/browse/KARAF-3402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244186#comment-14244186
]
Jean-Baptiste Onofré commented on KARAF-3402:
---------------------------------------------
It's because the KarDeployer doesn't catch the fact that the Kar file has been
removed (as it's down).
Let me check if I can add a check during KarDeployer startup.
> Deployed KARs aren't uninstall at start up
> ------------------------------------------
>
> Key: KARAF-3402
> URL: https://issues.apache.org/jira/browse/KARAF-3402
> Project: Karaf
> Issue Type: Bug
> Components: karaf-kar
> Affects Versions: 3.0.2
> Environment: ubuntu 14
> Reporter: Karl Leopold
>
> Installing KARs via dropping them into the deploy dir is a very useful
> feature to me. Installing when Karaf is running works. It is also possible to
> remove a kar from the deploy dir and it will be automatically uninstalled,
> then. When you deplay a kar and start Karaf afterwards, it will be installed.
> The only case the kar deployment mechanism doesn't work is, when you remove a
> kar while Karaf is not running and then start Karaf. The Karaf deployer
> doesn't uninstall it. That's bad for me, because I wan't to install/uninstall
> kar files independently whether it's on or off. I also think that this
> behavior is inconsistent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)