Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Apache felix GoGo shell doesn't work, can't read commands properly
Apache felix GoGo shell doesn't work, can't read commands properly [message #1476035] Sun, 16 November 2014 20:09 Go to next message
Niels Van hauwermeiren is currently offline Niels Van hauwermeirenFriend
Messages: 2
Registered: November 2014
Junior Member
So I've made a very simple OSGi project following a tutorial and when i tried testing it on the shell I get these weird problems were the shell cannot properly read my input commands.

____________________________
Welcome to Apache Felix Gogo

____________________________
Welcome to Apache Felix Gogo

g! g! lb
gogo: CommandNotFoundException: Command not found: b
g! lb
gogo: CommandNotFoundException: Command not found: llb
g! lb
gogo: CommandNotFoundException: Command not found: b
g! lb
gogo: CommandNotFoundException: Command not found: ll
g! lb
gogo: CommandNotFoundException: Command not found: blb
g! lb
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.4.1)
    1|Active     |    1|Apache Felix Dependency Manager (3.2.0)
    2|Active     |    1|Apache Felix Dependency Manager Shell (3.2.0)
    3|Active     |    1|Apache Felix Gogo Command (0.14.0)
    4|Active     |    1|Apache Felix Gogo Runtime (0.10.0)
    5|Active     |    1|Apache Felix Gogo Runtime (0.12.1)
    6|Active     |    1|Apache Felix Gogo Shell (0.10.0)
    7|Active     |    1|osgi.cmpn (5.0.0.201305092017)
    8|Active     |    1|Agenda.api (1.0.0)
    9|Active     |    1|Agenda.console (0.0.0)
   10|Active     |    1|Agenda.service.simple (1.0.0)
g! 


As you can see it starts by making the message "Welcome to Apache Felix Gogo" appear twice and after that it seems to scramble my input and returns CommandNotFoundExceptions. If you try enough times it will eventually work once and get a command of.

Does anyone recognize this problem and how to solve it? because this makes properly working with the shell nearly impossible.

I noticed that the "Apache Felix Gogo Runtime" is active twice? Could that be the problem?
Re: Apache felix GoGo shell doesn't work, can't read commands properly [message #1618123 is a reply to message #1476035] Sun, 15 February 2015 19:06 Go to previous messageGo to next message
Gerry Tucker is currently offline Gerry TuckerFriend
Messages: 1
Registered: February 2015
Junior Member
I'm having the exact same issue. Did you ever find a solution to this? I've seen it with Luna and the previous version of Eclipse on Linux and Windows 8.
Re: Apache felix GoGo shell doesn't work, can't read commands properly [message #1697030 is a reply to message #1618123] Sun, 31 May 2015 18:11 Go to previous message
Samuel Lima is currently offline Samuel LimaFriend
Messages: 1
Registered: May 2015
Junior Member
In my case I noticed there where two gogo runtime running with different versions:

4|Active | 1|Apache Felix gogo Runtime (0.10.0)
5|Active | 1|Apache Felix gogo Runtime (0.12.1)

Then I openned the bnd.bnd and in the wizard I removed the version 0.10.0 in the window 'Run Bundles' and also deactivated the 'Auto-resolve on save'.
I saved the file, ran the OSGi again and it was solved.

Hope this helps.
Previous Topic:Access resources from exported and dev apps without changing code
Next Topic:Juno: can't add GlassFish resource to a project
Goto Forum:
  


Current Time: Thu Aug 16 02:31:34 GMT 2018

Powered by FUDForum. Page generated in 0.02159 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top