How did you create the bundles? Do you use Bndtools or Eclipse PDE?

The export section of the manifest would be interesting to see.

Am 14.02.2017 6:15 PM schrieb "Neil Bartlett" <njbartl...@gmail.com>:

> The inspect command has the wrong parameters. It should be:
>
> inspect capability|requirement <namespace> <bundles>
>
> Note that capability and requirement can be abbreviated to just “c” and
> “r”.
>
> I think what you’re trying to do is view the exports of bundle 13, like
> this:
>
> inspect c osgi.wiring.package 13
>
> Regards,
> Neil
>
> On 14 Feb 2017, at 15:59, Mestiri Meher <meher.mest...@gmail.com> wrote:
>
> I triedd this command too : "inspect capability 13"
>
> and here what I got:
>
> org.apache.felix.framework [0] provides:
> ----------------------------------------
> 13 [EMPTY]
>
>
> 2017-02-14 16:55 GMT+01:00 Mestiri Meher <meher.mest...@gmail.com>:
>
>> Hey thanks Dirk for your answer,
>>
>> Actually it's only jar : the provider one for the first example and once
>> I tried deploying the api project it says : 
>> org.osgi.framework.BundleException:
>> R3 exports cannot contain directives.
>>
>> Otherwise all the felix bundles are working :
>>
>>    ID|State      |Level|Name
>>     0|Active     |    0|System Bundle (5.6.1)|5.6.1
>>     1|Active     |    1|Apache Felix Bundle Repository (2.0.8)|2.0.8
>>     2|Active     |    1|Apache Felix Gogo Command (0.16.0)|0.16.0
>>     3|Active     |    1|Apache Felix Gogo Runtime (0.16.2)|0.16.2
>>     4|Active     |    1|Apache Felix Gogo Shell (0.10.0)|0.10.0
>>
>>
>>
>>
>> 2017-02-14 16:49 GMT+01:00 Dirk Fauth <dirk.fa...@gmail.com>:
>>
>>> Did you check if all bundles are started that you need? Execute lb in
>>> the console to get the list of installed bundles and their states.
>>>
>>> Am 14.02.2017 4:41 PM schrieb "Mestiri Meher" <meher.mest...@gmail.com>:
>>>
>>> Hello guys,
>>>
>>> I'm new to the OSGI and I'm trying to learn it from the OSGI enRoute
>>> tutorials.
>>>
>>> I build the API/Provider, it runs on eclipse with felix gogo and the
>>> commands run fine.
>>>
>>> I tried exporting my jar and deploy it manually on concierge/felix
>>> standalone I was able to start the bundle on both of containers, and manage
>>> them.
>>>
>>> The problem is that I can not see the commands I declared in the
>>> provider. Once I type the help gogo command, I can't see my commands in
>>> there, but in eclipse the gogo command are prresent.
>>>
>>> I don't know how to figure this out, it says gogo
>>> commandNotFoundException.
>>>
>>> Do you have an idea ?
>>>
>>> Thanks,
>>> Meher
>>>
>>> _______________________________________________
>>> OSGi Developer Mail List
>>> osgi-dev@mail.osgi.org
>>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>>>
>>>
>>>
>>> _______________________________________________
>>> OSGi Developer Mail List
>>> osgi-dev@mail.osgi.org
>>> https://mail.osgi.org/mailman/listinfo/osgi-dev
>>>
>>
>>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
>
>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to