karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Pieber <anpie...@gmail.com>
Subject Re: Aries + Blueprint error
Date Sat, 15 Jan 2011 07:34:21 GMT
Hey Charles,

Basically this should work :) What does I have to do to reproduce this problem?

kind regards,
andreas

On Tue, Jan 04, 2011 at 10:08:39AM +0100, Charles Moulliard wrote:
> Hi,
> 
> When JAAS tries to get the service Karaf from osgi registry I get the
> following error :
> 
> It seems that there is no blueprintBundleContext ....
> 
> 
> 10:02:40,168 | ERROR | FelixStartLevel  | ServiceRecipe
>     | lueprint.container.ServiceRecipe  302 | 8 -
> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Error retrieving service
> from ServiceRecipe[name='karaf']
> org.osgi.service.blueprint.container.NoSuchComponentException: No
> component with id 'blueprintBundleContext' could be found
> 	at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:55)
> 	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
> 	at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:799)
> 	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:773)
> 	at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:754)
> 	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:720)
> 	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
> 	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)
> 	at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:198)
> 	at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:137)
> 	at org.apache.aries.blueprint.container.ServiceRecipe.createRecipe(ServiceRecipe.java:370)
> 	at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:278)
> 	at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:248)
> 	at org.apache.aries.blueprint.container.ServiceRecipe.getService(ServiceRecipe.java:327)
> 	at org.apache.aries.blueprint.container.ServiceRecipe$TriggerServiceFactory.getService(ServiceRecipe.java:430)
> 	at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:310)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:221)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:295)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.Felix.getService(Felix.java:3002)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:329)
> 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.getService(BlueprintContainerImpl.java:416)
> 	at org.apache.aries.blueprint.container.ReferenceListRecipe$ServiceDispatcher.call(ReferenceListRecipe.java:199)
> 	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:71)
> 	at $Proxy10.equals(Unknown Source)
> 	at java.util.concurrent.CopyOnWriteArrayList.eq(CopyOnWriteArrayList.java:131)[:1.6.0_22]
> 	at java.util.concurrent.CopyOnWriteArrayList.remove(CopyOnWriteArrayList.java:495)[:1.6.0_22]
> 	at org.apache.karaf.jaas.config.impl.OsgiConfiguration.unregister(OsgiConfiguration.java:48)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_22]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_22]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_22]
> 	at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_22]
> 	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:223)[8:org.apache.aries.blueprint:0.3.0.SNAPSHOT]
> 	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe$Listener.invokeMethods(AbstractServiceReferenceRecipe.java:465)[8:org.apache.aries.blueprint:0.3.0.SNAPSHOT]
> 	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe$Listener.unbind(AbstractServiceReferenceRecipe.java:434)[8:org.apache.aries.blueprint:0.3.0.SNAPSHOT]
> 	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.unbind(AbstractServiceReferenceRecipe.java:337)[8:org.apache.aries.blueprint:0.3.0.SNAPSHOT]
> 	at org.apache.aries.blueprint.container.ReferenceListRecipe.untrack(ReferenceListRecipe.java:144)[8:org.apache.aries.blueprint:0.3.0.SNAPSHOT]
> 	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.serviceRemoved(AbstractServiceReferenceRecipe.java:279)[8:org.apache.aries.blueprint:0.3.0.SNAPSHOT]
> 	at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.serviceChanged(AbstractServiceReferenceRecipe.java:251)[8:org.apache.aries.blueprint:0.3.0.SNAPSHOT]
> 	at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:871)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:733)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3721)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.Felix.access$000(Felix.java:80)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:178)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.Felix.stopBundle(Felix.java:2215)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1172)[org.apache.felix.framework-3.0.6.jar:]
> 	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)[org.apache.felix.framework-3.0.6.jar:]
> 	at java.lang.Thread.run(Thread.java:680)[:1.6.0_22]
> 
> Regards,
> 
> Charles Moulliard
> 
> Sr. Principal Solution Architect - FuseSource
> Apache Committer
> 
> Blog : http://cmoulliard.blogspot.com
> Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> Skype: cmoulliard

Mime
View raw message