karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: What is happening when feature:install does nothing?
Date Sat, 22 Aug 2015 16:39:32 GMT
First: your bundle should have the 1.8 requirement: the feature resolver 
will fail as the requirement is not satisfied.

Second: don't you have something in the log ?

Regards
JB

On 08/22/2015 05:22 PM, Benson Margulies wrote:
> I answered my own question, and now I think I'll try to figure out why
> no diagnosis!
>
> My feature includes a bundle that requires Java 1.8, and I wasn't
> using Java 1.8.
>
>
> On Sat, Aug 22, 2015 at 11:11 AM, Benson Margulies <benson@basistech.com> wrote:
>> karaf@root>feature:list | grep rosa
>> rosapi-worker                   | 0.0.1.SNAPSHOT   | x        |
>> Uninstalled | rosapi-worker            | Rosette API Worker endpoint
>> Karaf feature
>>
>> karaf@root>feature:install rosapi-worker
>>
>> karaf@root>feature:list | grep rosa
>> rosapi-worker                   | 0.0.1.SNAPSHOT   | x        |
>> Uninstalled | rosapi-worker            | Rosette API Worker endpoint
>> Karaf feature
>>
>> And log:display gives me:
>>
>> 2015-08-22 11:09:23,999 | INFO  | nsole user karaf |
>> FeaturesServiceImpl              | 6 - org.apache.karaf.features.core
>> - 4.0.1 | Adding features:
>> rosapi-worker/[0.0.1.SNAPSHOT,0.0.1.SNAPSHOT]
>> 2015-08-22 11:09:24,628 | INFO  | pool-27-thread-1 |
>> FeaturesServiceImpl              | 6 - org.apache.karaf.features.core
>> - 4.0.1 | No deployment change.
>> 2015-08-22 11:09:24,638 | INFO  | pool-27-thread-1 |
>> FeaturesServiceImpl              | 6 - org.apache.karaf.features.core
>> - 4.0.1 | Done.
>>
>> and bundle:list does not show the bundles, no surprise.

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

Mime
View raw message