[ https://issues.apache.org/jira/browse/FELIX-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436331#comment-15436331 ]
Carsten Ziegeler commented on FELIX-5333: ----------------------------------------- [~nschroeter] I can't reproduce this with an OOTB web console 4.2.16, interestingly my configuration after a save looks slightly different, notice "bundles" in default.render: {panel:title=org.apache.felix.webconsole.internal.servlet.OsgiManager.cfg} category=Main default.render=bundles http.service.filter= locale= loglevel=2 manager.root=/system/console password={sha-256}jGl25bVBBBW96Qi9Te4V37Fnqchz/Eu4qB9vKrRIqRg\= plugins=[ "org.apache.felix.webconsole.internal.compendium.LogServlet" "org.apache.felix.webconsole.internal.configuration.ConfigManager" "org.apache.felix.webconsole.internal.core.BundlesServlet" "org.apache.felix.webconsole.internal.core.ServicesServlet", "org.apache.felix.webconsole.internal.misc.LicenseServlet", "org.apache.felix.webconsole.internal.system.VMStatPlugin"] realm=OSGi\ Management\ Console username=admin {panel} However, if "default.render" is empty it uses the default which is "bundles" - that's why you see the redirect. Is there any error in the logs? > Saving the Web Console configuration makes the Console unaccessible > ------------------------------------------------------------------- > > Key: FELIX-5333 > URL: https://issues.apache.org/jira/browse/FELIX-5333 > Project: Felix > Issue Type: Bug > Components: Web Console > Affects Versions: webconsole-4.2.16 > Environment: Ubuntu 16.04.1 > Reporter: Niels Schroeter > > We have a very basis configuration: > {panel:title=org.apache.felix.webconsole.internal.servlet.OsgiManager.cfg} > manager.root=/system/console > username=admin > password = \{sha-56\}jGl25bVBBBW96Qi9Te4V37Fnqchz/Eu4qB9vKrRIqRg= > {panel} > If you open the configuration in the Web Console and press save (without > editing it), the default values for properties that did not exist in the > basis configuration will be added, after hitting save the configuration looks > like this: > {panel:title=org.apache.felix.webconsole.internal.servlet.OsgiManager.cfg} > manager.root=/system/console > username=admin > password = \{sha-256\}jGl25bVBBBW96Qi9Te4V37Fnqchz/Eu4qB9vKrRIqRg= > loglevel=2 > category = Main > default.render = > http.service.filter = > locale = > realm = OSGi Management Console > plugins = [org.apache.felix.webconsole.internal.compendium.LogServlet, > org.apache.felix.webconsole.internal.configuration.ConfigManager, > org.apache.felix.webconsole.internal.core.BundlesServlet, > org.apache.felix.webconsole.internal.core.ServicesServlet, > org.apache.felix.webconsole.internal.misc.LicenseServlet, > org.apache.felix.webconsole.internal.system.VMStatPlugin] > {panel} > If you restart the felix framework and try to access $HOST/system/console, > you will be redirected to $HOST/system/console/bundles - even if > {{default.render}} is not set, as above. > The redirect then fails with a 404 and the error message > {quote} > The requested page was not found. If you are not forwarded in 3 seconds to > the Web Console, please click here > {quote} > The only way to get back to the Web Console is to delete the last line in the > cfg file (starting with {{plugins=}}) > If the framework runs on a production system and you don't have ssh access, > it makes the system basically unconfigurable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)