[ 
https://issues.apache.org/jira/browse/KARAF-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré reassigned KARAF-2145:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> Starting Cave Server failed with "Unable to intialize bean cxf"
> ---------------------------------------------------------------
>
>                 Key: KARAF-2145
>                 URL: https://issues.apache.org/jira/browse/KARAF-2145
>             Project: Karaf
>          Issue Type: Bug
>          Components: cave-server
>    Affects Versions: 2.3.0
>            Reporter: Christoph Läubrich
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>
> I did the following steps:
> - download fresh version of karaf
> - features:addurl 
> mvn:org.apache.karaf.cave/apache-karaf-cave/3.0.0-SNAPSHOT/xml/features
> - features:install cave-obr-server (the name of the feature is incorrectly 
> referenced as cave-server here btw: 
> http://karaf.apache.org/index/subprojects/cave.html )
> This leads to 
> [ 156] [Active     ] [Failure     ] [       ] [   80] Apache Karaf :: Cave :: 
> Server :: Storage (3.0.0.SNAPSHOT)
> [ 157] [Active     ] [Created     ] [       ] [   80] Apache Karaf :: Cave :: 
> Server :: Management (3.0.0.SNAPSHOT)
> [ 158] [Active     ] [Created     ] [       ] [   80] Apache Karaf :: Cave :: 
> Server :: Command (3.0.0.SNAPSHOT)
> with the follwoing exception in the log:
> 2013-01-27 15:58:13,187 | ERROR | rint Extender: 2 | BlueprintContainerImpl   
>         | container.BlueprintContainerImpl  375 | 7 - 
> org.apache.aries.blueprint.core - 1.0.1 | Unable to start blueprint container 
> for bundle org.apache.karaf.cave.server.storage
> org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to 
> intialize bean cxf
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[7:org.apache.aries.blueprint.core:1.0.1]
>       at java.util.concurrent.FutureTask$Sync.innerRun(Unknown 
> Source)[:1.6.0_31]
>       at java.util.concurrent.FutureTask.run(Unknown Source)[:1.6.0_31]
>       at 
> org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:646)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:353)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:252)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[7:org.apache.aries.blueprint.core:1.0.1]
>       at java.util.concurrent.Executors$RunnableAdapter.call(Unknown 
> Source)[:1.6.0_31]
>       at java.util.concurrent.FutureTask$Sync.innerRun(Unknown 
> Source)[:1.6.0_31]
>       at java.util.concurrent.FutureTask.run(Unknown Source)[:1.6.0_31]
>       at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown
>  Source)[:1.6.0_31]
>       at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
>  Source)[:1.6.0_31]
>       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 
> Source)[:1.6.0_31]
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
> Source)[:1.6.0_31]
>       at java.lang.Thread.run(Unknown Source)[:1.6.0_31]
> Caused by: org.apache.cxf.bus.extension.ExtensionException
>       at org.apache.cxf.bus.extension.Extension.load(Extension.java:175)
>       at 
> org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:181)
>       at 
> org.apache.cxf.bus.extension.ExtensionManagerImpl.initialize(ExtensionManagerImpl.java:118)
>       at 
> org.apache.cxf.bus.extension.ExtensionManagerBus.initialize(ExtensionManagerBus.java:147)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)[:1.6.0_31]
>       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown 
> Source)[:1.6.0_31]
>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> Source)[:1.6.0_31]
>       at java.lang.reflect.Method.invoke(Unknown Source)[:1.6.0_31]
>       at 
> org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[7:org.apache.aries.blueprint.core:1.0.1]
>       at 
> org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[7:org.apache.aries.blueprint.core:1.0.1]
>       ... 20 more
> Caused by: java.lang.InstantiationException: 
> org.apache.cxf.bus.osgi.OSGiExtensionLocator$OSGIBusListener
>       at java.lang.Class.newInstance0(Unknown Source)[:1.6.0_31]
>       at java.lang.Class.newInstance(Unknown Source)[:1.6.0_31]
>       at org.apache.cxf.bus.extension.Extension.load(Extension.java:171)
>       ... 30 more

--
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

Reply via email to