You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Shawn Dempsay (JIRA)" <ji...@apache.org> on 2017/04/03 20:11:41 UTC

[jira] [Commented] (FELIX-5585) obr commands are missing from gogo shell commands

    [ https://issues.apache.org/jira/browse/FELIX-5585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954087#comment-15954087 ] 

Shawn Dempsay commented on FELIX-5585:
--------------------------------------

I grabbed the code and added in exception tracking to the obr bundle, and noticed that it failed:
  java.lang.NoClassDefFoundError: org/osgi/service/obr/RepositoryAdmin

So I added in "OSGi OBR service API" 1.0.2 (which incorrectly displays as 1.0.0) from the felix download page and it started working again. I backed off to "Apache Felix Bundle Repository" 2.0.8 and it fails to work.

It seems 2 things are at work here
1. The service api bundle should be included in the felix.zip download.
2. "Apache Felix Bundle Repository" needs a release to update whatever changed from 2.0.8 until now.

Sadly, since the exceptions that would tell us what is going on are not logged in any way, I don't know if there is anything I can do but run off a pre-release of the OBR bundle at this time.

> obr commands are missing from gogo shell commands
> -------------------------------------------------
>
>                 Key: FELIX-5585
>                 URL: https://issues.apache.org/jira/browse/FELIX-5585
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-2.0.8
>         Environment: Windows 10, felix-framework-5.6.2 update 1
>            Reporter: Ahmed Khalil
>            Priority: Minor
>              Labels: commands, felix, newbie
>
> I am learning OSGi using Apache felix and I came across obr commands in felix to add my local repository. I typed the help command to list all the available commands in felix and I couldn't find the obr commands at all. I have the following bundles installed:
> g! felix:lb                                                                                                    
> START LEVEL 1
>    ID|State      |Level|Name
>     0|Active     |    0|System Bundle (5.6.2)|5.6.2
>     1|Active     |    1|jansi (1.14.0)|1.14.0
>     2|Active     |    1|JLine (3.0.1)|3.0.1
>     3|Active     |    1|Apache Felix Bundle Repository (2.0.8)|2.0.8
>     4|Active     |    1|Apache Felix Gogo Command (1.0.2)|1.0.2
>     5|Active     |    1|Apache Felix Gogo JLine Shell (1.0.2)|1.0.2
>     6|Active     |    1|Apache Felix Gogo Runtime (1.0.2)|1.0.2
> When I was looking for the issue I found that somehow the documentation of the bundle repository service is out dated (suggested in some of the forums). I uninstalled felix and download it again but the problem is the same.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)