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

Restart Framework from Web Console's System Information tab results in Karaf dying

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.4
    • 2.4.0, 3.0.2, 2.3.6, 4.0.0.M3
    • karaf
    • None

    Description

      I am running Karaf v2.2.5 on Windows 7. Once I start karaf (using the
      karaf.bat script), I go to the web console and click on the System
      Information tab. I then click the Restart button and Ok in its popup. I see
      in the Karaf command line console that Karaf shuts down and restarts. When I
      click in the command line console and press return (to get a prompt), the
      command line console window disappears and Karaf shuts down.

      When I try this with Karaf v2.2.5 and only install the webconsole feature,
      when I click Restart, the Karaf command line console disappears and Karaf
      shuts down (never comes back up).

      I have reproduced this issue with Karaf v2.2.5 and only loading the
      following bundles:

      <feature name="saxon" version="${saxon.bundle.plugin}">

      <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saxon/${saxon.bundle.plugin}</bundle>
      </feature>

      <feature name="commons-io" version="${commons-io.version}">
      <bundle>mvn:commons-io/commons-io/${commons-io.version}</bundle>
      </feature>

      <feature name="slf4j-ext" version="${org.slf4j-ext.version}">
      <bundle>mvn:org.slf4j/slf4j-ext/${org.slf4j-ext.version}</bundle>
      </feature>

      <feature name="ops4j-base-lang" version="${org.ops4j-base-lang}">
      <bundle
      start-level='70'>mvn:org.ops4j.base/ops4j-base-lang/${org.ops4j-base-lang}</bundle>
      </feature>

      <feature name="ops4j-swissbox"
      version="${org.ops4j.pax.swissbox.version}">
      <feature version="${org.ops4j-base-lang}">ops4j-base-lang</feature>
      <bundle
      start-level='70'>mvn:org.ops4j.pax.swissbox/pax-swissbox-lifecycle/${org.ops4j.pax.swissbox.version}</bundle>
      <bundle
      start-level='70'>mvn:org.ops4j.pax.swissbox/pax-swissbox-optional-jcl/${org.ops4j.pax.swissbox.version}</bundle>
      <bundle
      start-level='70'>mvn:org.ops4j.pax.swissbox/pax-swissbox-extender/${org.ops4j.pax.swissbox.version}</bundle>
      </feature>

      The dev:restart command works from the Karaf command line console, and it
      works if I issue it from a second terminal window using the Karaf client.bat
      script.

      At this point, I have yet to see the Restart button in the web console work
      properly.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            rodgersh Hugh Rodgers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: