You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by João Assunção <jo...@exploitsys.com> on 2017/11/08 10:03:59 UTC
Why is org.apache.aries.blueprint.core.compatibility installed for
some some features
Hello all,
In Karaf 4.1.3 when I do a feature:install one of my features
the org.apache.aries.blueprint.core.compatibility bundle gets installed
causing a refresh of all bundles and a Karaf shutdown.
None of the bundles in the feature uses blueprint and the more exotic thing
is that one of the bundles uses a Contional-Package instruction.
What are possible reasons for this blueprint compatibility bundle to get
installed ?
Thanks.
João Assunção
Email: joao.assuncao@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
Re: Why is org.apache.aries.blueprint.core.compatibility installed
for some some features
Posted by João Assunção <jo...@exploitsys.com>.
I will open an issue.
I had already implemented the workaround sugested and is working great. My
question was more due to curiosity why a feature not using blueprint would
trigger the installation of that bundle.
Thank you.
João Assunção
Email: joao.assuncao@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Wed, Nov 8, 2017 at 4:48 PM, Guillaume Nodet <gn...@apache.org> wrote:
> THis looks like a regression caused by KARAF-4932.
> Could you please raise a JIRA for this issue ?
>
> A workaround could be to modify the generation of you custom assembly so
> that the blueprint compatibility bundle is installed by default. At least,
> it would avoid the unwanted refresh of all blueprint apps.
>
> 2017-11-08 17:16 GMT+01:00 João Assunção <jo...@exploitsys.com>:
>
>> Of course
>>
>> The feature I'm trying to install:
>>
>> karaf@root()> feature:info paybox-io-modbus
>> Feature paybox-io-modbus 0.1.0.SNAPSHOT
>> Description:
>> Modbus I/O implementation
>> Feature has no configuration
>> Feature has no configuration files
>> Feature has no dependencies.
>> Feature contains followed bundles:
>> mvn:pt.brisa.common/common-service-core/1.3.0
>> mvn:pt.brisa.paybox/io-api/0.1.0-SNAPSHOT
>> mvn:pt.brisa.paybox/io-modbus/0.1.0-SNAPSHOT
>> mvn:pt.brisa.paybox/io-commands/0.1.0-SNAPSHOT
>> Feature has no conditionals.
>>
>> In attachment the output of feature:install
>>
>> Thank you.
>>
>> João Assunção
>>
>> Email: joao.assuncao@exploitsys.com
>> Mobile: +351 916968984 <+351%20916%20968%20984>
>> Phone: +351 211933149 <+351%2021%20193%203149>
>> Web: www.exploitsys.com
>>
>>
>>
>> On Wed, Nov 8, 2017 at 2:39 PM, Guillaume Nodet <gn...@apache.org>
>> wrote:
>>
>>> Can you use feature:install --verbose --all-wiring and send us the
>>> output ?
>>>
>>> 2017-11-08 11:03 GMT+01:00 João Assunção <jo...@exploitsys.com>:
>>>
>>>> Hello all,
>>>>
>>>> In Karaf 4.1.3 when I do a feature:install one of my features
>>>> the org.apache.aries.blueprint.core.compatibility bundle gets
>>>> installed causing a refresh of all bundles and a Karaf shutdown.
>>>>
>>>> None of the bundles in the feature uses blueprint and the more exotic
>>>> thing is that one of the bundles uses a Contional-Package instruction.
>>>>
>>>> What are possible reasons for this blueprint compatibility bundle to
>>>> get installed ?
>>>>
>>>> Thanks.
>>>>
>>>> João Assunção
>>>>
>>>> Email: joao.assuncao@exploitsys.com
>>>> Mobile: +351 916968984 <+351%20916%20968%20984>
>>>> Phone: +351 211933149 <+351%2021%20193%203149>
>>>> Web: www.exploitsys.com
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> ------------------------
>>> Guillaume Nodet
>>>
>>>
>>
>
>
> --
> ------------------------
> Guillaume Nodet
>
>
Re: Why is org.apache.aries.blueprint.core.compatibility installed
for some some features
Posted by Guillaume Nodet <gn...@apache.org>.
THis looks like a regression caused by KARAF-4932.
Could you please raise a JIRA for this issue ?
A workaround could be to modify the generation of you custom assembly so
that the blueprint compatibility bundle is installed by default. At least,
it would avoid the unwanted refresh of all blueprint apps.
2017-11-08 17:16 GMT+01:00 João Assunção <jo...@exploitsys.com>:
> Of course
>
> The feature I'm trying to install:
>
> karaf@root()> feature:info paybox-io-modbus
> Feature paybox-io-modbus 0.1.0.SNAPSHOT
> Description:
> Modbus I/O implementation
> Feature has no configuration
> Feature has no configuration files
> Feature has no dependencies.
> Feature contains followed bundles:
> mvn:pt.brisa.common/common-service-core/1.3.0
> mvn:pt.brisa.paybox/io-api/0.1.0-SNAPSHOT
> mvn:pt.brisa.paybox/io-modbus/0.1.0-SNAPSHOT
> mvn:pt.brisa.paybox/io-commands/0.1.0-SNAPSHOT
> Feature has no conditionals.
>
> In attachment the output of feature:install
>
> Thank you.
>
> João Assunção
>
> Email: joao.assuncao@exploitsys.com
> Mobile: +351 916968984 <+351%20916%20968%20984>
> Phone: +351 211933149 <+351%2021%20193%203149>
> Web: www.exploitsys.com
>
>
>
> On Wed, Nov 8, 2017 at 2:39 PM, Guillaume Nodet <gn...@apache.org> wrote:
>
>> Can you use feature:install --verbose --all-wiring and send us the
>> output ?
>>
>> 2017-11-08 11:03 GMT+01:00 João Assunção <jo...@exploitsys.com>:
>>
>>> Hello all,
>>>
>>> In Karaf 4.1.3 when I do a feature:install one of my features
>>> the org.apache.aries.blueprint.core.compatibility bundle gets installed
>>> causing a refresh of all bundles and a Karaf shutdown.
>>>
>>> None of the bundles in the feature uses blueprint and the more exotic
>>> thing is that one of the bundles uses a Contional-Package instruction.
>>>
>>> What are possible reasons for this blueprint compatibility bundle to get
>>> installed ?
>>>
>>> Thanks.
>>>
>>> João Assunção
>>>
>>> Email: joao.assuncao@exploitsys.com
>>> Mobile: +351 916968984 <+351%20916%20968%20984>
>>> Phone: +351 211933149 <+351%2021%20193%203149>
>>> Web: www.exploitsys.com
>>>
>>>
>>>
>>
>>
>> --
>> ------------------------
>> Guillaume Nodet
>>
>>
>
--
------------------------
Guillaume Nodet
Re: Why is org.apache.aries.blueprint.core.compatibility installed
for some some features
Posted by João Assunção <jo...@exploitsys.com>.
Of course
The feature I'm trying to install:
karaf@root()> feature:info paybox-io-modbus
Feature paybox-io-modbus 0.1.0.SNAPSHOT
Description:
Modbus I/O implementation
Feature has no configuration
Feature has no configuration files
Feature has no dependencies.
Feature contains followed bundles:
mvn:pt.brisa.common/common-service-core/1.3.0
mvn:pt.brisa.paybox/io-api/0.1.0-SNAPSHOT
mvn:pt.brisa.paybox/io-modbus/0.1.0-SNAPSHOT
mvn:pt.brisa.paybox/io-commands/0.1.0-SNAPSHOT
Feature has no conditionals.
In attachment the output of feature:install
Thank you.
João Assunção
Email: joao.assuncao@exploitsys.com
Mobile: +351 916968984
Phone: +351 211933149
Web: www.exploitsys.com
On Wed, Nov 8, 2017 at 2:39 PM, Guillaume Nodet <gn...@apache.org> wrote:
> Can you use feature:install --verbose --all-wiring and send us the output
> ?
>
> 2017-11-08 11:03 GMT+01:00 João Assunção <jo...@exploitsys.com>:
>
>> Hello all,
>>
>> In Karaf 4.1.3 when I do a feature:install one of my features
>> the org.apache.aries.blueprint.core.compatibility bundle gets installed
>> causing a refresh of all bundles and a Karaf shutdown.
>>
>> None of the bundles in the feature uses blueprint and the more exotic
>> thing is that one of the bundles uses a Contional-Package instruction.
>>
>> What are possible reasons for this blueprint compatibility bundle to get
>> installed ?
>>
>> Thanks.
>>
>> João Assunção
>>
>> Email: joao.assuncao@exploitsys.com
>> Mobile: +351 916968984 <+351%20916%20968%20984>
>> Phone: +351 211933149 <+351%2021%20193%203149>
>> Web: www.exploitsys.com
>>
>>
>>
>
>
> --
> ------------------------
> Guillaume Nodet
>
>
Re: Why is org.apache.aries.blueprint.core.compatibility installed
for some some features
Posted by Guillaume Nodet <gn...@apache.org>.
Can you use feature:install --verbose --all-wiring and send us the output ?
2017-11-08 11:03 GMT+01:00 João Assunção <jo...@exploitsys.com>:
> Hello all,
>
> In Karaf 4.1.3 when I do a feature:install one of my features
> the org.apache.aries.blueprint.core.compatibility bundle gets installed
> causing a refresh of all bundles and a Karaf shutdown.
>
> None of the bundles in the feature uses blueprint and the more exotic
> thing is that one of the bundles uses a Contional-Package instruction.
>
> What are possible reasons for this blueprint compatibility bundle to get
> installed ?
>
> Thanks.
>
> João Assunção
>
> Email: joao.assuncao@exploitsys.com
> Mobile: +351 916968984 <+351%20916%20968%20984>
> Phone: +351 211933149 <+351%2021%20193%203149>
> Web: www.exploitsys.com
>
>
>
--
------------------------
Guillaume Nodet