You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Steinar Bang <sb...@dod.no> on 2017/06/01 17:44:28 UTC

Re: Weird behaviour when uninstalling feature with fragment

>>>>> Steinar Bang <sb...@dod.no>:

>>>>> Castor <yg...@gmail.com>:
>> That's weird, i'm using the liquibase-slf4j as a fragment for quite
>> sometime and i don't have this problem. but i'm using Karaf 4.0.8, and
>> if i'm correct karaf 4.1.x changed some stuff related to logging,
>> could be the cause of the problem.

> Could be...? 

> Should this be reported as a karaf bug?  It should be pretty easy to
> create a test case (just a maven file or two, to rebundle
> liquibase-slf4j and create a karaf feature).

Here's the testcase:
 https://github.com/steinarb/liquibase-karaf-feature

Actually the above project doubles fine as a what the README says what
it is, if you don't try uninstalling it...;-)

The readme says: This project contains a karaf feature for easily using
Liquibase from OSGi-based applications running in apache karaf.

Karaf 4.0.7 and 4.0.9 don't have the uninstalling issue.


Re: Weird behaviour when uninstalling feature with fragment

Posted by Steinar Bang <sb...@dod.no>.
>>>>> Steinar Bang <sb...@dod.no>:

>>>>> Steinar Bang <sb...@dod.no>:
>>>>> Castor <yg...@gmail.com>:
>>> That's weird, i'm using the liquibase-slf4j as a fragment for quite
>>> sometime and i don't have this problem. but i'm using Karaf 4.0.8, and
>>> if i'm correct karaf 4.1.x changed some stuff related to logging,
>>> could be the cause of the problem.

>> Could be...? 

>> Should this be reported as a karaf bug?  It should be pretty easy to
>> create a test case (just a maven file or two, to rebundle
>> liquibase-slf4j and create a karaf feature).

> Here's the testcase:
>  https://github.com/steinarb/liquibase-karaf-feature

Here's the bug: https://issues.apache.org/jira/browse/KARAF-5174