Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-650

system commands unexpected lost

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.2.1
    • None
    • karaf
    • win7, java6

    Description

      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

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            drhades drhades
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: