You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "jie yan (JIRA)" <ji...@apache.org> on 2011/05/19 03:18:47 UTC
[jira] [Created] (KARAF-650) system commands unexpected lost
system commands unexpected lost
-------------------------------
Key: KARAF-650
URL: https://issues.apache.org/jira/browse/KARAF-650
Project: Karaf
Issue Type: Bug
Components: console
Affects Versions: 2.2.1
Environment: win7, java6
Reporter: jie yan
Yesterday, I shutdown Karaf normally.
Today, when I start Karaf and run "la", it notes me that "command not found: osgi:list ".
Approximately 100 commands are vanished from the console, including "shutdown".
That's the debug log snippet:
08:48:48,947 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 258 | 36 - org.apache.karaf.shell.console - 2.2.1 | Exception caught while executing command
org.apache.felix.gogo.runtime.CommandNotFoundException: Command not found: osgi:list
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:471)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:79)[36:org.apache.karaf.shell.console:2.2.1]
at org.apache.karaf.shell.console.jline.Console.run(Console.java:240)[36:org.apache.karaf.shell.console:2.2.1]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]
08:48:53,631 | DEBUG | l Console Thread | ServiceRecipe | lueprint.container.ServiceRecipe 244 | 9 - org.apache.aries.blueprint - 0.3.1 | Retrieving service for bundle org.apache.karaf.shell.console [36] and service registration org.apache.felix.framework.ServiceRegistrationImpl@74714c
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (KARAF-650) system commands unexpected lost
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-650.
----------------------------------------
Resolution: Won't Fix
Assignee: Jean-Baptiste Onofré
The command are lazy loaded. So just after a start, if you type a command very quickly (during the Karaf startup), the command won't be there.
If you wait for a while (end of the Karaf startup), the commands will appear :)
> system commands unexpected lost
> -------------------------------
>
> Key: KARAF-650
> URL: https://issues.apache.org/jira/browse/KARAF-650
> Project: Karaf
> Issue Type: Bug
> Components: console
> Affects Versions: 2.2.1
> Environment: win7, java6
> Reporter: jie yan
> Assignee: Jean-Baptiste Onofré
> Labels: commands, console, features
>
> Yesterday, I shutdown Karaf normally.
> Today, when I start Karaf and run "la", it notes me that "command not found: osgi:list ".
> Approximately 100 commands are vanished from the console, including "shutdown".
> That's the debug log snippet:
> 08:48:48,947 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 258 | 36 - org.apache.karaf.shell.console - 2.2.1 | Exception caught while executing command
> org.apache.felix.gogo.runtime.CommandNotFoundException: Command not found: osgi:list
> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:471)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:79)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:240)[36:org.apache.karaf.shell.console:2.2.1]
> at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]
> 08:48:53,631 | DEBUG | l Console Thread | ServiceRecipe | lueprint.container.ServiceRecipe 244 | 9 - org.apache.aries.blueprint - 0.3.1 | Retrieving service for bundle org.apache.karaf.shell.console [36] and service registration org.apache.felix.framework.ServiceRegistrationImpl@74714c
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (KARAF-650) system commands unexpected lost
Posted by "jie yan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035908#comment-13035908 ]
jie yan commented on KARAF-650:
-------------------------------
And, er.
Ctrl-D exit, start Karaf again, the vanished commands revive!
> system commands unexpected lost
> -------------------------------
>
> Key: KARAF-650
> URL: https://issues.apache.org/jira/browse/KARAF-650
> Project: Karaf
> Issue Type: Bug
> Components: console
> Affects Versions: 2.2.1
> Environment: win7, java6
> Reporter: jie yan
> Labels: commands, console, features
>
> Yesterday, I shutdown Karaf normally.
> Today, when I start Karaf and run "la", it notes me that "command not found: osgi:list ".
> Approximately 100 commands are vanished from the console, including "shutdown".
> That's the debug log snippet:
> 08:48:48,947 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 258 | 36 - org.apache.karaf.shell.console - 2.2.1 | Exception caught while executing command
> org.apache.felix.gogo.runtime.CommandNotFoundException: Command not found: osgi:list
> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:471)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:79)[36:org.apache.karaf.shell.console:2.2.1]
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:240)[36:org.apache.karaf.shell.console:2.2.1]
> at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]
> 08:48:53,631 | DEBUG | l Console Thread | ServiceRecipe | lueprint.container.ServiceRecipe 244 | 9 - org.apache.aries.blueprint - 0.3.1 | Retrieving service for bundle org.apache.karaf.shell.console [36] and service registration org.apache.felix.framework.ServiceRegistrationImpl@74714c
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira