Restarting the framework from the web console does not work
-----------------------------------------------------------

                 Key: FELIX-3468
                 URL: https://issues.apache.org/jira/browse/FELIX-3468
             Project: Felix
          Issue Type: Bug
          Components: Karaf
    Affects Versions: webconsole-3.1.8
            Reporter: Hugh Rodgers


I am running Karaf v2.2.5 (which uses felix web console v3.1.8) 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.

Thanks. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to