[
https://issues.apache.org/jira/browse/FELIX-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805059#action_12805059
]
Ciprian Popa commented on FELIX-2005:
-------------------------------------
It works as you describe it ... and additionally it works if the web console is
nit started by default (org.apache.felix.webconsole_2.0.6....@nostart)
But if the "webconsole" is started from the felx start, you'll get these
error.... during the starting (CM updates) and you'll end up with the default
configs (/system/console, ...etc).
[Configuration Updater] WARN org.apache.felix.webconsole - unbindHttpService:
Failed unregistering Resources
java.lang.IllegalArgumentException: Alias [/syscon/res] was never registered
at
org.ops4j.pax.web.service.internal.HttpServiceStarted.unregister(HttpServiceStarted.java:163)
at
org.ops4j.pax.web.service.internal.HttpServiceProxy.unregister(HttpServiceProxy.java:70)
at
org.apache.felix.webconsole.internal.servlet.OsgiManager.unbindHttpService(OsgiManager.java:659)
at
org.apache.felix.webconsole.internal.servlet.OsgiManager.updateConfiguration(OsgiManager.java:806)
at
org.apache.felix.webconsole.internal.servlet.ConfigurationListener.updated(ConfigurationListener.java:72)
at
org.apache.felix.cm.impl.ConfigurationManager$UpdateConfiguration.run(ConfigurationManager.java:1389)
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:88)
Anyway, this is a minor issue since if you stop/start the bundle it will get it
correctly ... so 10x a lot for your fast reply , and hope you'll solve this
minor annoyance.
> Configuration done using
> "org.apache.felix.webconsole.internal.servlet.OsgiManager" PID is not used by
> WebConsole
> -----------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-2005
> URL: https://issues.apache.org/jira/browse/FELIX-2005
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-2.0.6
> Environment: OS: Windows XP SP3
> Java: 1.6_016
> OSGi framework: Felix [2.0.1] + File Install [2.0.8] + WebConsole [2.0.6]
> Reporter: Ciprian Popa
> Assignee: Felix Meschberger
> Attachments: configuration-status-20100126-1521+0200.zip
>
>
> I'm using Felix [2.0.1] with File Install [2.0.8] and WebConsole [2.0.6]
> Even that I use the file install
> (org.apache.felix.webconsole.internal.servlet.OsgiManager.cfg) or using
> manual updates done on Config (using the CM editor bundle:
> net.luminis.cmc_0.2.4.jar), and I also see that the config is included in CM
> but is not bound to org.apache.felix.webconsole.internal.servlet.OsgiManager
> PID.
> // Example: org.apache.felix.webconsole.internal.servlet.OsgiManager.cfg
> # ---------------------------------------------------------
> # Apache Felix Web Console configuration
> # ---------------------------------------------------------
> realm=OSGi Management Console
> username=admin
> password=nimda
> manager.root=/syscon
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Additioanly it seams that the managedservice is not installed (Why I can't
> see it as a Managed Service ) for this PID ... (here are the services
> registered by web console bundle)
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> -> inspect s c 1
> Apache Felix Web Management Console (1) provides services:
> ----------------------------------------------------------
> objectClass = org.apache.felix.webconsole.ConfigurationPrinter
> service.id = 46
> ----
> objectClass = org.apache.felix.webconsole.ConfigurationPrinter
> service.id = 47
> ----
> objectClass = org.apache.felix.webconsole.ConfigurationPrinter
> service.id = 48
> ----
> objectClass = org.apache.felix.webconsole.ConfigurationPrinter
> service.id = 49
> ----
> objectClass = org.apache.felix.webconsole.ConfigurationPrinter
> service.id = 50
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.