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

Ryan Moquin updated SMX4-361:
-----------------------------

    Attachment: postconstruct-issue-test.zip
                test-se.zip

Unzip, build and deploy the test-se project.  Then unzip, build and deploy the 
postconstruct-issue-test.zip.  The error will occur after Servicemix attempts 
to deploy the SA.

> ClassCircularityError when using spring and @PostConstruct annotation in 
> Servicemix 4
> -------------------------------------------------------------------------------------
>
>                 Key: SMX4-361
>                 URL: https://issues.apache.org/activemq/browse/SMX4-361
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Bundles
>    Affects Versions: 4.0.0
>         Environment: Fused ESB 4.1.0.2, Windows XP
>            Reporter: Ryan Moquin
>         Attachments: postconstruct-issue-test.zip, test-se.zip
>
>
> When loading a bean from the xbean.xml of an SU that is decorated with the 
> @PostConstruct annotation along with Spring 2.5.6SEC01, a 
> ClassCircularityError occurs upon deployment of a service unit.  Attached are 
> the two maven2 projects that can be used to reproduce this issue.  The 
> following is the error that comes from Servicemix:
> 18:58:38,578 | ERROR | pool-1-thread-1  | ServiceAssemblyInstaller         | 
> er.impl.ServiceAssemblyInstaller  209 | Error deploying SU 
> test-postconstruct-su
> javax.jbi.management.DeploymentException: <component-task-result 
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>       <component-name>test-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>
>       at 
> org.apache.servicemix.common.ManagementSupport.failure(ManagementSupport.java:46)
>       at 
> org.apache.servicemix.common.AbstractDeployer.failure(AbstractDeployer.java:43)
>       at 
> org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:117)
>       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)
> 18:58:38,578 | ERROR | pool-1-thread-1  | ServiceAssemblyInstaller         | 
> er.impl.ServiceAssemblyInstaller  100 | Error deploying SU 
> test-postconstruct-su
> 18:58:38,578 | WARN  | pool-1-thread-1  | Deployer                         | 
> cemix.jbi.deployer.impl.Deployer  557 | Error installing JBI artifact
> javax.jbi.JBIException: java.lang.Exception: Error deploying SU 
> test-postconstruct-su
>       at 
> org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:101)
>       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)
> Caused by: java.lang.Exception: Error deploying SU test-postconstruct-su
>       at 
> org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:210)
>       at 
> org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)
>       ... 41 more
> Caused by: javax.jbi.management.DeploymentException: <component-task-result 
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>       <component-name>test-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>
>       at 
> org.apache.servicemix.common.ManagementSupport.failure(ManagementSupport.java:46)
>       at 
> org.apache.servicemix.common.AbstractDeployer.failure(AbstractDeployer.java:43)
>       at 
> org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:117)
>       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)
>       ... 42 more
> 18:58:38,640 | INFO  | pool-1-thread-1  | FileMonitor                      | 
> x.kernel.filemonitor.FileMonitor  550 | Started: test-se [93]
> 18:58:38,968 | INFO  | Thread-6         | jetty                            | 
> .service.internal.util.JCLLogger  102 | Logging to 
> org.ops4j.pax.web.service.internal.util.jcllog...@1e001c8 via 
> org.ops4j.pax.web.service.internal.util.JCLLogger

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to