[ 
https://issues.apache.org/jira/browse/FELIX-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436451#comment-15436451
 ] 

Niels Schroeter commented on FELIX-5333:
----------------------------------------

No, there are no errors in the logs, except Jetty's 404, of course.
I just copied your configuration (i added some missing ',' in the plugin list), 
the error is the same.
After deleting the plugin line, everything is fine again.

I becomes even better: if i go into the web console configuration and uncheck 
some, but not all plugins,
a popup with the well known error message instantly appears.
Again, deleting the plugin line helps...


> 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)

Reply via email to