karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Berkman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1729) Cannot uninstall bundle, bundle xx is invalid
Date Sat, 09 Jan 2016 17:05:40 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15090697#comment-15090697
] 

Peter Berkman commented on KARAF-1729:
--------------------------------------

we are still experiencing this issue on 3.0.4.   Removing the regions bundle after installation
corrects the issue (workaround).

interestingly, if we feature:install region again, it behaves properly (the problem does not
appear anymore)...  so, maybe something else adds a hook during initial installation that
has the problem and the act of uninstalling and installing region after the fact avoids the
hook???  or, maybe it is a sequence issue - once uninstalled and installed again it avoids
it by being last in the "stack"?

anyway, it does not seem like this fix corrected the problem in 3.0.4...  we have not tried
4.x yet, but are planning an upgrade next month.

> Cannot uninstall bundle, bundle xx is invalid
> ---------------------------------------------
>
>                 Key: KARAF-1729
>                 URL: https://issues.apache.org/jira/browse/KARAF-1729
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-osgi
>    Affects Versions: 3.0.0
>            Reporter: Hendy Irawan
>            Assignee: Guillaume Nodet
>            Priority: Critical
>             Fix For: 3.0.4, 4.0.0.M3
>
>         Attachments: karaf-invalid-bundle.tgz
>
>
> Karaf marks a bundle as installed and active, but I can't uninstall it, stop it.
> {code}
> karaf@root()> list -t 0 -s | grep pool
> [1295] [    Active] [   50] org.apache.commons.pool (1.6.0)
> karaf@root()> uninstall 1295
> Bundle 1295 is invalid
> No bundles specified.
> karaf@root()> uninstall 1295
> Bundle 1295 is invalid
> No bundles specified.
> karaf@root()> list -t 0 -s | grep pool
> [1295] [    Active] [   50] org.apache.commons.pool (1.6.0)
> karaf@root()> uninstall org.apache.commons.pool
> No bundles specified.
> karaf@root()> list -t 0 -s | grep pool
> [1295] [    Active] [   50] org.apache.commons.pool (1.6.0)
> karaf@root()> stop 1295
> Bundle 1295 is invalid
> No bundles specified.
> {code}
> Workaround: Delete folder karaf/data/cache/bundle1295



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

Mime
View raw message