This really sounds like there is an issue with your OSGi setup. Possibly multiple versions of CXF installed or some other strange thing happening.
With 2.5.2, the Bus and Blueprint bus classes really should be loaded from the exact same bundle and thus should easily be castable from one to the other in all cases. It doesn't look like that is the case from your stack trace. Thus, I'd really need more complete description about how you are setting up your osgi environment, what bundles are there, etc.... Dan On Friday, February 10, 2012 1:52:13 AM Nagamohan wrote: > Hi Glen, > > As you mentioned in your second reply, i try to install sts service bundle > in to our custom karaf container where it uses CXF 2.5.2, while installing > sts bundle i got the following error. > > 2012-02-10 14:48:33,062 ERROR [Blueprint Extender: 2] > container.BlueprintContainerImpl -11-org.apache.aries.blueprint-0.3.1 - > Unable to start blueprint container for bundle jaxws-cxf-sts-wsp. > org.osgi.service.blueprint.container.ComponentDefinitionException: Error > setting property: PropertyDescriptor <name: bus, getter: public > org.apache.cxf.Bus org.apache.cxf.endpoint.AbstractEndpointFactory.getBus(), > setter: [public void > org.apache.cxf.endpoint.AbstractEndpointFactory.setBus(org.apache.cxf.Bus)] > at > org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java: > 807)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.jav > a:773)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.jav > a:754)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.ja > va:720)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)[ > 11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.container.BlueprintRepository.createInstances(Blu > eprintRepository.java:219)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.container.BlueprintRepository.createAll(Blueprint > Repository.java:147)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEager > Components(BlueprintContainerImpl.java:640)[11:org.apache.aries.blueprint:0. > 3.1] at > org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintC > ontainerImpl.java:331)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintCon > tainerImpl.java:227)[11:org.apache.aries.blueprint:0.3.1] at > java.util.concurrent.Executors$RunnableAdapter.call(Unknown > Source)[:1.6.0_17] > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [:1.6.0_17] > at java.util.concurrent.FutureTask.run(Unknown Source)[:1.6.0_17] at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$ > 301(Unknown Source)[:1.6.0_17] > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unk > nown Source)[:1.6.0_17] > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source)[:1.6.0_17] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source)[:1.6.0_17] > at java.lang.Thread.run(Unknown Source)[:1.6.0_17] > Caused by: java.lang.Exception: Unable to convert value > org.apache.cxf.bus.blueprint.BlueprintBus@48c264 to type org.apache.cxf.Bus > at > org.apache.aries.blueprint.container.AggregateConverter.convert(AggregateCon > verter.java:172)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.container.BlueprintRepository.convert(BlueprintRe > pository.java:373)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.convert( > ReflectionUtils.java:323)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.in > ternalSet(ReflectionUtils.java:476)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(Refl > ectionUtils.java:307)[11:org.apache.aries.blueprint:0.3.1] at > org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java: > 805)[11:org.apache.aries.blueprint:0.3.1] ... 17 more > > Any idea why it is giving this error. > > Thanks, > -Nagamohan > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/wsdl-is-not-being-handled-by-cxf-2-5-x-tp54 > 65680p5471959.html Sent from the cxf-user mailing list archive at > Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
