Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1018

ShellService not properly tracked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • shell.remote-1.0.2
    • None
    • Remote Shell
    • None
    • JDK 6

    Description

      I start felix with:

      felix.auto.start.1= \
      file:repository/org.apache.felix.shell-1.0.2.jar \
      file:repository/com.jog.felix.1.0.0.jar \

      file:repository/org.apache.felix.shell.tui-1.0.2.jar \
      file:repository/org.apache.felix.shell.remote-1.0.2.jar

      I get:
      Welcome to Felix.
      =================
      DEBUG: WIRE: 1.0 -> org.ungoverned.osgi.service.shell -> 1.0
      DEBUG: WIRE: 1.0 -> org.osgi.service.startlevel -> 0
      DEBUG: WIRE: 1.0 -> org.apache.felix.shell -> 1.0
      DEBUG: WIRE: 1.0 -> org.osgi.framework -> 0
      DEBUG: WIRE: 1.0 -> org.osgi.service.packageadmin -> 0
      DEBUG: WIRE: 2.0 -> org.apache.felix.shell -> 1.0
      DEBUG: WIRE: 2.0 -> org.osgi.framework -> 0
      DEBUG: WIRE: 3.0 -> org.apache.felix.shell -> 1.0
      DEBUG: WIRE: 3.0 -> org.osgi.framework -> 0
      DEBUG: WIRE: 4.0 -> org.apache.felix.shell -> 1.0
      DEBUG: WIRE: 4.0 -> org.osgi.framework -> 0
      -> switch
      Felix shell ?true
      -> ps
      START LEVEL 1
      ID State Level Name
      [ 0] [Active ] [ 0] System Bundle (1.4.0)
      [ 1] [Active ] [ 1] Apache Felix Shell Service (1.0.2)
      [ 2] [Active ] [ 1] Jog Shell (1.0.0)
      [ 3] [Active ] [ 1] Apache Felix Shell TUI (1.0.2)
      [ 4] [Active ] [ 1] Apache Felix Remote Shell (1.0.2)
      -> services 2

      Jog Shell (2) provides:
      -----------------------
      ->

      So this states no services have been registered, though obviously shell TUI finds my ShellService instance as the
      'switch' command shows.
      -> services -u 3

      Apache Felix Shell TUI (3) uses:
      --------------------------------
      ->

      So shell TUI doesn't seem to even use the service.

      Looks like a bug in the 'services' command no

      Attachments

        1. MANIFEST.MF
          0.3 kB
          Jacques-Olivier Goussard
        2. JogShell.java
          2 kB
          Jacques-Olivier Goussard

        Activity

          People

            Unassigned Unassigned
            jogoussard Jacques-Olivier Goussard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: