[ https://issues.apache.org/jira/browse/FELIX-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-2005. -------------------------------------- Resolution: Fixed Fix Version/s: webconsole-2.0.6 Fixed two issues regarding MetaType servide API in Rev. 903278: (1) Separated the MetaTypeProvider implementation into an extension of the ConfigurationListener class. Now the console first tries to create and register the fulll monty (MetaTypeProvider plus ManagedService). If that fails, the console falls back to just the ManagedService. If that fails, too, nothing is registered. (2) The ComponentsServlet depends on the MetaType service API and thus the ComponentConfigurationPrinter failed to print cmponenents because a static method from ComponentsServlet could not be accessed. I have moved the method to the ComponentConfigurationPrinter class, so that this works even in the absence of the MetaType service API. > 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 > Fix For: webconsole-2.0.6 > > 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.