Fuse ESB 4.3.1 camel-cache component notworking
tnk Feb 28, 2011 7:27 AMCamel-cache component in Fuse serviceMix 4.3.1-fuse-00-00 is not working.
Has anyone experienced the same problem?
LOG:
13:12:33,118 | ERROR | xtenderThread-18 | ContextLoaderListener | BundleApplicationContextListener 50 | 72 - org.springframework.osgi.extender -
1.2.0 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=CacheManagementBean_JMX.xml, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehCacheManagementService' defined in URL [bundleentry://232.fwk175173
7296/META-INF/spring/CacheManagementBean_JMX.xml]: Cannot create inner bean 'net.sf.ehcache.CacheManager#3aa3cf94' of type whil
e setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.sf.ehcache.Ca
cheManager#3aa3cf94' defined in URL bundleentry://232.fwk1751737296/META-INF/spring/CacheManagementBean_JMX.xml: Instantiation of bean failed; nested excep
tion is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static net.sf.ehcache.CacheManager net.sf.ehcache.CacheManager
.getInstance() throws net.sf.ehcache.CacheException] threw exception; nested exception is net.sf.ehcache.CacheException: Error configuring from null. Initial
cause was null
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[61:org.springframework.context:3.0.5.RELEASE]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[71:org.springframework.osgi.core:1.2.0]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[71:org.springframework.osgi.core:1.2.0]
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[71:org.springframework.osgi.core:1.2.0]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[71:org.springframework.osgi.core:1.2.0]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)[72:org.springframework.osgi.extender:1.2.0]
at java.lang.Thread.run(Thread.java:595)[:1.5.0_22]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.sf.ehcache.CacheManager#3aa3cf94' defined in URL bundleentry://232.fwk1751737296/META-INF/spring/CacheManagementBean_JMX.xml: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method threw exception; nested exception is net.sf.ehcache.CacheException: Error configuring from null. Initial cause was null
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)[59:org.springframework.beans:3.0.5.RELEASE]
... 19 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method threw exception; nested exception is net.sf.ehcache.CacheException: Error configuring from null. Initial cause was null
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157)[59:org.springframework.beans:3.0.5.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570)[59:org.springframework.beans:3.0.5.RELEASE]
... 24 more
Caused by: net.sf.ehcache.CacheException: Error configuring from null. Initial cause was null
at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:103)
at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:138)
at net.sf.ehcache.CacheManager.parseConfiguration(CacheManager.java:507)
at net.sf.ehcache.CacheManager.init(CacheManager.java:291)
at net.sf.ehcache.CacheManager.(CacheManager.java:281)
at net.sf.ehcache.CacheManager.create(CacheManager.java:651)
at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:671)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.5.0_22]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.5.0_22]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.5.0_22]
at java.lang.reflect.Method.invoke(Method.java:592)[:1.5.0_22]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145)[59:org.springframework.beans:3.0.5.RELEASE]
... 25 more
Caused by: java.lang.NullPointerException
at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:100)
... 36 more