You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Jakub Herkel <jh...@gmail.com> on 2021/04/10 18:53:25 UTC

Error message Deployment aborted due to loop

Hi,

When tracing some issues with refreshing of bundles during
feature:install I have checked it with command:
feature:install -v -t.
I was able to fix refreshing (there were some optional imports) but I
can see this error :
Error executing command: Deployment aborted due to loop in missing
prerequisites: [pax-jdbc/0.0.0, pax-jdbc-config/0.0.0].

Installation without -t is possible but I would like to know what is
wrong there. Could someone explain to me what this error means? I'm
using Karaf 4.3.1

best regards

Jakub

Re: Error message Deployment aborted due to loop

Posted by JB Onofré <jb...@nanthrax.net>.
Thanks. I gonna take a look. 

Regards 
JB

> Le 11 avr. 2021 à 20:17, Jakub Herkel <jh...@gmail.com> a écrit :
> 
> Hi,
> 
> I found out that this feature can be used for demonstration of this error:
> 
> <feature name="test"
>           description="test"
>           version="0.0.1" >
>    <feature prerequisite="true">wrap</feature>
> 
> <!--    <bundle
> dependency="true">mvn:org.postgresql/postgresql/${org.postgresql.version}</bundle>-->
> <!--    <feature>jndi</feature>-->
>    <feature>jdbc</feature>
> <!--    <feature>pax-jdbc-pool-dbcp2</feature>    -->
> <!--    <feature version="${org.apache.aries.jpa.version}">jpa</feature>
>    <feature version="[5.4,6)">hibernate-envers</feature>-->
>  </feature>
> 
> best regards
> 
> Jakub
> 
>> On Sun, Apr 11, 2021 at 7:34 AM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>> 
>> Hi Jakub
>> 
>> It looks like you have a cycle in your feature, basically your feature has two inner features, one feature is a transitive dependency of the other.
>> 
>> Can you share your feature ?
>> 
>> Thanks,
>> Regards
>> JB
>> 
>>>> Le 10 avr. 2021 à 20:53, Jakub Herkel <jh...@gmail.com> a écrit :
>>> 
>>> Hi,
>>> 
>>> When tracing some issues with refreshing of bundles during
>>> feature:install I have checked it with command:
>>> feature:install -v -t.
>>> I was able to fix refreshing (there were some optional imports) but I
>>> can see this error :
>>> Error executing command: Deployment aborted due to loop in missing
>>> prerequisites: [pax-jdbc/0.0.0, pax-jdbc-config/0.0.0].
>>> 
>>> Installation without -t is possible but I would like to know what is
>>> wrong there. Could someone explain to me what this error means? I'm
>>> using Karaf 4.3.1
>>> 
>>> best regards
>>> 
>>> Jakub
>> 


Re: Error message Deployment aborted due to loop

Posted by Jakub Herkel <jh...@gmail.com>.
Hi,

I found out that this feature can be used for demonstration of this error:

<feature name="test"
           description="test"
           version="0.0.1" >
    <feature prerequisite="true">wrap</feature>

<!--    <bundle
dependency="true">mvn:org.postgresql/postgresql/${org.postgresql.version}</bundle>-->
<!--    <feature>jndi</feature>-->
    <feature>jdbc</feature>
<!--    <feature>pax-jdbc-pool-dbcp2</feature>    -->
<!--    <feature version="${org.apache.aries.jpa.version}">jpa</feature>
    <feature version="[5.4,6)">hibernate-envers</feature>-->
  </feature>

best regards

Jakub

On Sun, Apr 11, 2021 at 7:34 AM Jean-Baptiste Onofre <jb...@nanthrax.net> wrote:
>
> Hi Jakub
>
> It looks like you have a cycle in your feature, basically your feature has two inner features, one feature is a transitive dependency of the other.
>
> Can you share your feature ?
>
> Thanks,
> Regards
> JB
>
> > Le 10 avr. 2021 à 20:53, Jakub Herkel <jh...@gmail.com> a écrit :
> >
> > Hi,
> >
> > When tracing some issues with refreshing of bundles during
> > feature:install I have checked it with command:
> > feature:install -v -t.
> > I was able to fix refreshing (there were some optional imports) but I
> > can see this error :
> > Error executing command: Deployment aborted due to loop in missing
> > prerequisites: [pax-jdbc/0.0.0, pax-jdbc-config/0.0.0].
> >
> > Installation without -t is possible but I would like to know what is
> > wrong there. Could someone explain to me what this error means? I'm
> > using Karaf 4.3.1
> >
> > best regards
> >
> > Jakub
>

Re: Error message Deployment aborted due to loop

Posted by Jean-Baptiste Onofre <jb...@nanthrax.net>.
Hi Jakub

It looks like you have a cycle in your feature, basically your feature has two inner features, one feature is a transitive dependency of the other.

Can you share your feature ?

Thanks,
Regards
JB

> Le 10 avr. 2021 à 20:53, Jakub Herkel <jh...@gmail.com> a écrit :
> 
> Hi,
> 
> When tracing some issues with refreshing of bundles during
> feature:install I have checked it with command:
> feature:install -v -t.
> I was able to fix refreshing (there were some optional imports) but I
> can see this error :
> Error executing command: Deployment aborted due to loop in missing
> prerequisites: [pax-jdbc/0.0.0, pax-jdbc-config/0.0.0].
> 
> Installation without -t is possible but I would like to know what is
> wrong there. Could someone explain to me what this error means? I'm
> using Karaf 4.3.1
> 
> best regards
> 
> Jakub