You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (Jira)" <ji...@apache.org> on 2021/01/13 16:36:00 UTC
[jira] [Comment Edited] (FELIX-6375) Configuration Admin Service
not available with org.apache.felix.webconsole_4.6.0.all
[ https://issues.apache.org/jira/browse/FELIX-6375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17264239#comment-17264239 ]
Pierre De Rop edited comment on FELIX-6375 at 1/13/21, 4:35 PM:
----------------------------------------------------------------
Hello Benno,
Can you provide the exact list of all bundles you are using (as well as the felix framework version used) ? We'll try to reproduce using the exact same bundles from your ones.
From my side, I found another problem, not sure if it's related to your own issue, anyway, let me describe it:
When using felix-framework-7.0.0 with org.apache.felix.configadmin-1.9.20.jar and with org.apache.felix.webconsole-4.6.0-all.jar, I'm getting this exception:
{code:java}
org.osgi.framework.BundleException: Unable to resolve org.apache.felix.webconsole [13](R 13.0): missing requirement [org.apache.felix.webconsole [13](R 13.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.5.0)(!(version>=1.6.0))) Unresolved r
equirements: [[org.apache.felix.webconsole [13](R 13.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.5.0)(!(version>=1.6.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
{code}
it's because the org.apache.felix.webconsole-4.6.0-all.jar strictly imporst the org.osgi.service.cm package with a strict version range: *"[1.5,1.6)"*, however the org.apache.felix.configadmin-1.9.20.jar exports the org.osgi.service.cm with version "1.6.0". That's why there is the problem.
And indeed, using previous org.apache.felix.webconsole-4.5.4-all.jar, I don't have the import-package issue.
So, can you provide the felix framework version used, as well as the list of all bundles ? we'll then test.
thanks.
was (Author: pderop):
Hello Benno,
Can you provide the exact list of all bundles you are using (as well as the felix framework version used) ? We'll try to reproduce using the exact same bundles from your ones.
From my side, I found another problem, not sure if it's related to your own issue, anyway, let me describe it:
When using felix-framework-7.0.0 with org.apache.felix.configadmin-1.9.20.jar and with org.apache.felix.webconsole-4.6.0-all.jar, I'm getting this exception:
{code:java}
org.osgi.framework.BundleException: Unable to resolve org.apache.felix.webconsole [13](R 13.0): missing requirement [org.apache.felix.webconsole [13](R 13.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.5.0)(!(version>=1.6.0))) Unresolved r
equirements: [[org.apache.felix.webconsole [13](R 13.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.cm)(version>=1.5.0)(!(version>=1.6.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1566)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:748)
{code}
it's because the org.apache.felix.webconsole-4.6.0-all.jar strictly imporst the org.osgi.service.cm package with a strict version range: *"[1.5, 6)"*, however the org.apache.felix.configadmin-1.9.20.jar exports the org.osgi.service.cm with version "1.6.0". That's why there is the problem.
And indeed, using previous org.apache.felix.webconsole-4.5.4-all.jar, I don't have the import-package issue.
So, can you provide the felix framework version used, as well as the list of all bundles ? we'll then test.
thanks.
> Configuration Admin Service not available with org.apache.felix.webconsole_4.6.0.all
> ------------------------------------------------------------------------------------
>
> Key: FELIX-6375
> URL: https://issues.apache.org/jira/browse/FELIX-6375
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-4.6.0
> Reporter: Benno Luthiger
> Priority: Minor
>
> After using _org.apache.felix.webconsole_4.6.0.all_, the /configMgr showed no configuration entries but the message "Configuration Admin Service not available".
> Switching back to _org.apache.felix.webconsole-4.5.4-all_ showed the expected behavior.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)