ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACE-408) CM wiring problem in run-OBR
Date Fri, 16 Aug 2013 09:27:47 GMT
Bram de Kruijff created ACE-408:
-----------------------------------

             Summary: CM wiring problem in run-OBR
                 Key: ACE-408
                 URL: https://issues.apache.org/jira/browse/ACE-408
             Project: ACE
          Issue Type: Improvement
            Reporter: Bram de Kruijff


When launching obr.bndrun from eclipse the second time (thus with a bundle cache) the HTTP
configuration fails due to a CM class cast exception;

{code}
2013.08.16 11:15:23 ERROR - Bundle: org.apache.felix.configadmin - [org.osgi.service.cm.ConfigurationAdmin]
- Unexpected problem providing configuration org.apache.ace.obr.storage.file to service [org.osgi.service.cm.ManagedService,
id=24, bundle=15/reference:file:/home/bramk/Projects/Apache/code/ace-trunk/org.apache.ace.obr/generated/org.apache.ace.obr.storage.jar]
- java.lang.ClassCastException: org.apache.felix.dm.impl.dependencies.ConfigurationDependencyImpl
cannot be cast to org.osgi.service.cm.ManagedService
	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:98)
	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:81)
	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1436)
	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1392)
	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)
	at java.lang.Thread.run(Thread.java:722)
{code}

A quick look at the bundle involved show;

{code}
Apache Felix Configuration Admin Service 1.6
------------------------------------
Export-Package = org.osgi.service.cm;uses:="org.osgi.framework";version="1.5"
Import-Package = org.osgi.service.cm;version="[1.5,1.6)"

Apache Felix Dependency Manager  3.1.0
------------------------------------
Import-Package = org.osgi.service.cm;version="[1.3,2)"

osgi.cmpn 4.3.1
--------------
Export-Package = org.osgi.service.cm;uses:="org.osgi.framework";version="1.4"
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message