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

John Ellinwood commented on KARAF-1729:
---------------------------------------

We continue to get "Bundle XXX is invalid. No bundles specified." on
  Karaf 3.0.2
  karaf.framework=equinox
  
karaf.frameqork.equinox=mvn\:org.eclipse/org.eclipse.osgi/3.8.2.v20130124-134944

This frustrates me to no end because I can not generate a test case that causes 
the error.  Several different users approach me at least once a week when they 
get into Invalid Bundle hell.  I can look at their console and type "update XX" 
or "refresh XX" and continue to get the error, but I don't know what to look 
for in debugging this.  Can you give me some suggestions on what to look for 
when this happens?  Any loggers you want me to turn up to trace so I can see 
where things are going wrong?

I'm not sure, but I still think the problem is related to bundles that are 
installed via feature files, and possibly updating those bundles with 
bundle:update.




> 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: Jean-Baptiste Onofré
>             Fix For: 4.0.0, 3.0.3
>
>         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)

Reply via email to