You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Oleksii Mohylin <ol...@reseguiden.se> on 2019/01/29 14:52:45 UTC

Ignite won't start in Karaf after restart

Hello 

 

I'm trying to use Ignite 2.7 in Karaf 4.2.0. It works fine at initial
installation, but after Karaf restart Ignite just doesn't start and I see
this error in log:

 

org.osgi.framework.BundleException: Unable to resolve ki-test-core [70](R
70.0): missing requirement [ki-test-core [70](R 70.0)] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.ignite.osgi.classloaders)(version>=2.7.0)(
!(version>=3.0.0))) [caused by: Unable to resolve
org.apache.ignite.ignite-osgi [86](R 86.0): missing requirement
[org.apache.ignite.ignite-osgi [86](R 86.0)] osgi.wiring.host;
(&(osgi.wiring.host=org.apache.ignite.ignite-core)(bundle-version>=0.0.0))]
Unresolved requirements: [[ki-test-core [70](R 70.0)] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.ignite.osgi.classloaders)(version>=2.7.0)(
!(version>=3.0.0)))]

 

It looks like fragment ignite-osgi cannot find it's host ignite-core. In
reality bundle ignite-core is present and Active.

Here is my dummy project I created to show more details about the issue:
https://github.com/leshkm/karaf-ignite-test

 

Anyone has successful experience in using recent versions (2.4+) of Ignite
in Karaf?

 

Any ideas why ignite-osgi fragment can fail to attach to it's host after
Karaf restart?

 

Thanks

Oleksii


Re: Ignite won't start in Karaf after restart

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks for the update. I'm busy with Karaf 4.2.3 preparation right now,
I will take a look tomorrow.

Regards
JB

On 01/02/2019 17:26, Oleksii Mohylin wrote:
> Hi, 
> 
> I tried this  setup with Karaf 4.2.2 as well and had the same error.
> Looking forward to hearing from you.
> 
> Best regards,
> Oleksii
> 
> -----Original Message-----
> From: Jean-Baptiste Onofré <jb...@nanthrax.net> 
> Sent: Tuesday, January 29, 2019 6:50 PM
> To: user@karaf.apache.org
> Subject: Re: Ignite won't start in Karaf after restart
> 
> Hi,
> 
> I will try and fix eventually. AFAIR, we did a fix about the fragment
> recently (in Karaf 4.2.2).
> Let me take a look.
> 
> Regards
> JB
> 
> On 29/01/2019 15:52, Oleksii Mohylin wrote:
>> Hello
>>
>>  
>>
>> I’m trying to use Ignite 2.7 in Karaf 4.2.0. It works fine at initial 
>> installation, but after Karaf restart Ignite just doesn’t start and I 
>> see this error in log:
>>
>>  
>>
>> org.osgi.framework.BundleException: Unable to resolve ki-test-core 
>> [70](R 70.0): missing requirement [ki-test-core [70](R 70.0)] 
>> osgi.wiring.package;
>> (&(osgi.wiring.package=org.apache.ignite.osgi.classloaders)(version>=2
>> .7.0)(!(version>=3.0.0))) [caused by: Unable to resolve 
>> org.apache.ignite.ignite-osgi [86](R
>> 86.0): missing requirement [org.apache.ignite.ignite-osgi [86](R 
>> 86.0)] osgi.wiring.host; 
>> (&(osgi.wiring.host=org.apache.ignite.ignite-core)(bundle-version>=0.0
>> .0))] Unresolved requirements: [[ki-test-core [70](R 70.0)] 
>> osgi.wiring.package; 
>> (&(osgi.wiring.package=org.apache.ignite.osgi.classloaders)(version>=2
>> .7.0)(!(version>=3.0.0)))]
>>
>>  
>>
>> It looks like fragment ignite-osgi cannot find it’s host ignite-core. 
>> In reality bundle ignite-core is present and Active.
>>
>> Here is my dummy project I created to show more details about the issue:
>> https://github.com/leshkm/karaf-ignite-test
>>
>>  
>>
>> Anyone has successful experience in using recent versions (2.4+) of 
>> Ignite in Karaf?
>>
>>  
>>
>> Any ideas why ignite-osgi fragment can fail to attach to it’s host 
>> after Karaf restart?
>>
>>  
>>
>> Thanks
>>
>> Oleksii
>>
> 
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Ignite won't start in Karaf after restart

Posted by Oleksii Mohylin <ol...@reseguiden.se>.
Hi, 

I tried this  setup with Karaf 4.2.2 as well and had the same error.
Looking forward to hearing from you.

Best regards,
Oleksii

-----Original Message-----
From: Jean-Baptiste Onofré <jb...@nanthrax.net> 
Sent: Tuesday, January 29, 2019 6:50 PM
To: user@karaf.apache.org
Subject: Re: Ignite won't start in Karaf after restart

Hi,

I will try and fix eventually. AFAIR, we did a fix about the fragment
recently (in Karaf 4.2.2).
Let me take a look.

Regards
JB

On 29/01/2019 15:52, Oleksii Mohylin wrote:
> Hello
> 
>  
> 
> I’m trying to use Ignite 2.7 in Karaf 4.2.0. It works fine at initial 
> installation, but after Karaf restart Ignite just doesn’t start and I 
> see this error in log:
> 
>  
> 
> org.osgi.framework.BundleException: Unable to resolve ki-test-core 
> [70](R 70.0): missing requirement [ki-test-core [70](R 70.0)] 
> osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.ignite.osgi.classloaders)(version>=2
> .7.0)(!(version>=3.0.0))) [caused by: Unable to resolve 
> org.apache.ignite.ignite-osgi [86](R
> 86.0): missing requirement [org.apache.ignite.ignite-osgi [86](R 
> 86.0)] osgi.wiring.host; 
> (&(osgi.wiring.host=org.apache.ignite.ignite-core)(bundle-version>=0.0
> .0))] Unresolved requirements: [[ki-test-core [70](R 70.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=org.apache.ignite.osgi.classloaders)(version>=2
> .7.0)(!(version>=3.0.0)))]
> 
>  
> 
> It looks like fragment ignite-osgi cannot find it’s host ignite-core. 
> In reality bundle ignite-core is present and Active.
> 
> Here is my dummy project I created to show more details about the issue:
> https://github.com/leshkm/karaf-ignite-test
> 
>  
> 
> Anyone has successful experience in using recent versions (2.4+) of 
> Ignite in Karaf?
> 
>  
> 
> Any ideas why ignite-osgi fragment can fail to attach to it’s host 
> after Karaf restart?
> 
>  
> 
> Thanks
> 
> Oleksii
> 

--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Ignite won't start in Karaf after restart

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

I will try and fix eventually. AFAIR, we did a fix about the fragment
recently (in Karaf 4.2.2).
Let me take a look.

Regards
JB

On 29/01/2019 15:52, Oleksii Mohylin wrote:
> Hello
> 
>  
> 
> I’m trying to use Ignite 2.7 in Karaf 4.2.0. It works fine at initial
> installation, but after Karaf restart Ignite just doesn’t start and I
> see this error in log:
> 
>  
> 
> org.osgi.framework.BundleException: Unable to resolve ki-test-core
> [70](R 70.0): missing requirement [ki-test-core [70](R 70.0)]
> osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.ignite.osgi.classloaders)(version>=2.7.0)(!(version>=3.0.0)))
> [caused by: Unable to resolve org.apache.ignite.ignite-osgi [86](R
> 86.0): missing requirement [org.apache.ignite.ignite-osgi [86](R 86.0)]
> osgi.wiring.host;
> (&(osgi.wiring.host=org.apache.ignite.ignite-core)(bundle-version>=0.0.0))]
> Unresolved requirements: [[ki-test-core [70](R 70.0)]
> osgi.wiring.package;
> (&(osgi.wiring.package=org.apache.ignite.osgi.classloaders)(version>=2.7.0)(!(version>=3.0.0)))]
> 
>  
> 
> It looks like fragment ignite-osgi cannot find it’s host ignite-core. In
> reality bundle ignite-core is present and Active.
> 
> Here is my dummy project I created to show more details about the issue:
> https://github.com/leshkm/karaf-ignite-test
> 
>  
> 
> Anyone has successful experience in using recent versions (2.4+) of
> Ignite in Karaf?
> 
>  
> 
> Any ideas why ignite-osgi fragment can fail to attach to it’s host after
> Karaf restart?
> 
>  
> 
> Thanks
> 
> Oleksii
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com