karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Bailey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2712) Bundles cache corrupted
Date Fri, 05 Dec 2014 00:06:12 GMT

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

Andy Bailey commented on KARAF-2712:

I see that this has been closed, however it just happened to me. I am using 
karaf@root()> version
with the default settings ie felix as the framework.

After a reboot without doing a karaf shutdown several bundles did not start and had errors:
diag #
Bundle # is invalid

I beleve the issue has not been resolved and a more thorough test needs to be performed,

I had around 28 camel features installed and several blueprint.xml deployed. I can provide
them if need be.

My temporary workaround has been to change the framework to equinox and reinstall the features
to see if its just a problem with felix.

> Bundles cache corrupted
> -----------------------
>                 Key: KARAF-2712
>                 URL: https://issues.apache.org/jira/browse/KARAF-2712
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 3.0.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
> It seems that we have an issue with Felix framework: the bundles cache (in the data folder)
gets corrupted, pushing Karaf in a complete toasted state.
> A possible scenario to reproduce it is:
> - install a couple of bundles using bundles:install command
> - kill the Karaf java process
> - try to start Karaf again, it should failed.
> This scenario has to be tested:
> - with Equinox as framework (it should work)
> - with Karaf 2.3.x (it should work with Felix framework 4.0.2)
> - depending if the bundles is in the system repository or not (to see if pax-url-aether
may have an impact)
> - with Karaf 3.0.0 (it should fail with Felix framework 4.2.1)

This message was sent by Atlassian JIRA

View raw message