karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Läubrich (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-2145) Starting Cave Server failed with "Unable to intialize bean cxf"
Date Tue, 29 Jan 2013 09:07:13 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565203#comment-13565203
] 

Christoph Läubrich commented on KARAF-2145:
-------------------------------------------

Okay I tried again it is still failing, is there anything i must do to "using the latest Cave
3.0.0-SNAPSHOT"?
I did the following steps:{code}cd /tmp/
mkdir cave
cd cave
wget http://mirror.synyx.de/apache/karaf/2.3.0/apache-karaf-2.3.0.tar.gz
(downloading and uncompress content)
cd apache-karaf-2.3.0/
bin/karaf 

Apache Karaf (2.3.0)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.

karaf@root> features:addurl mvn:org.apache.karaf.cave/apache-karaf-cave/3.0.0-SNAPSHOT/xml/features
karaf@root> features:install cave-obr-server
karaf@root> la|grep -i cave
[ 155] [Active     ] [            ] [       ] [   80] Apache Karaf :: Cave :: Server :: API
(3.0.0.SNAPSHOT)
[ 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)
[ 159] [Active     ] [            ] [       ] [   80] Apache Karaf :: Cave :: Server :: HTTP
(3.0.0.SNAPSHOT){code}

                
> 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
>         Attachments: karaf.log
>
>
> 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

Mime
View raw message