This is kind of odd.  Did you have any luck getting this resolved yet?
--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org


On Sat, Jul 18, 2009 at 1:32 PM, Ryan Moquin <[email protected]> wrote:

> I've almost gotten everything working in the Servicemix Fuse 4.1 Snapshot,
> except for some of my serviceunits which give me a very strange error.  It
> seems like a dependency conflict, but nothing I try to do seems to fix it.
> The error does not occur on Servicemix 3.3.1 where all of my custom
> components and service units work.  Is there something in the servicemix
> 4.0
> distribution that might cause some sort of conflict resulting in the
> following error?  Or does this error ring a bell on how I might figure it
> out?  As I mentioned, I don't get any errors when I deploy on Servicemix
> 3.3.1.. so it's some sort of jar difference between the two...
>
> javax.jbi.management.DeploymentException: <component-task-result xmlns="
> http://java.sun.com/xml/ns/jbi/management-message";>
>    <component-name>feed-service-se</component-name>
>    <component-task-result-details>
>        <task-result-details>
>            <task-id>deploy</task-id>
>            <task-result>FAILED</task-result>
>            <message-type>ERROR</message-type>
>            <task-status-msg><msg-loc-info><loc-token/><loc-message>Could
> not deploy xbean service
> unit</loc-message></msg-loc-info></task-status-msg>
>            <exception-info>
>                <nesting-level>1</nesting-level>
>                <msg-loc-info>
>                    <loc-token />
>
>
> <loc-message>org/springframework/beans/factory/annotation/InitDestroyAnnotationBeanPostProcessor$LifecycleElement</loc-message>
>                    <stack-trace><![CDATA[java.lang.ClassCircularityError:
>
> org/springframework/beans/factory/annotation/InitDestroyAnnotationBeanPostProcessor$LifecycleElement
>    at
>
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(InitDestroyAnnotationBeanPostProcessor.java:121)
>    at
>
> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:275)
>    at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:745)
>    at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:448)
>    at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>    at
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>    at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>    at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>    at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>    at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>    at
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>    at
>
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
>    at
>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
>    at
>
> org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:87)
>    at
>
> org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
>    at
>
> org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
>    at
>
> org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:100)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:204)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.Deployer.checkPendingInstallers(Deployer.java:552)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.Deployer.lifeCycleChanged(Deployer.java:602)
>    at
>
> org.apache.servicemix.jbi.deployer.artifacts.AbstractLifecycleJbiArtifact.fireEvent(AbstractLifecycleJbiArtifact.java:102)
>    at
>
> org.apache.servicemix.jbi.deployer.artifacts.AbstractLifecycleJbiArtifact.fireEvent(AbstractLifecycleJbiArtifact.java:92)
>    at
>
> org.apache.servicemix.jbi.deployer.artifacts.ComponentImpl$ComponentWrapper.init(ComponentImpl.java:251)
>    at
>
> org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:97)
>    at
>
> org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:37)
>    at
>
> org.apache.servicemix.nmr.core.ServiceRegistryImpl.register(ServiceRegistryImpl.java:47)
>    at
>
> org.apache.servicemix.nmr.osgi.OsgiServiceRegistryTracker.addingService(OsgiServiceRegistryTracker.java:79)
>    at
>
> org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1030)
>    at
>
> org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTracker.java:1008)
>    at
>
> org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:933)
>    at
>
> org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:846)
>    at
>
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:704)
>    at
>
> org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:635)
>    at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3393)
>    at org.apache.felix.framework.Felix.access$000(Felix.java:39)
>    at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:622)
>    at
>
> org.apache.felix.framework.ServiceRegistry.fireServiceChanged(ServiceRegistry.java:576)
>    at
>
> org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:86)
>    at org.apache.felix.framework.Felix.registerService(Felix.java:2527)
>    at
>
> org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:252)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.Deployer.registerService(Deployer.java:748)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.Deployer.registerComponent(Deployer.java:437)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.ComponentInstaller.initComponent(ComponentInstaller.java:413)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.ComponentInstaller.install(ComponentInstaller.java:133)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:354)
>    at
>
> org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:284)
>    at
>
> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:771)
>    at
>
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:700)
>    at
>
> org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)
>    at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3382)
>    at org.apache.felix.framework.Felix.startBundle(Felix.java:1517)
>    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:770)
>    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:751)
>    at
>
> org.apache.servicemix.kernel.filemonitor.FileMonitor.refreshPackagesAndStartOrUpdateBundles(FileMonitor.java:549)
>    at
>
> org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:299)
>    at
>
> org.apache.servicemix.kernel.filemonitor.FileMonitor$3$1.run(FileMonitor.java:318)
>    at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>    at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>    at java.lang.Thread.run(Thread.java:619)
> ]]></stack-trace>
>                </msg-loc-info>
>            </exception-info>
>        </task-result-details>
>    </component-task-result-details>
> </component-task-result>
>
>
> Thanks for any help!
> Ryan
>

Reply via email to