camel-quickfix (2.6.0.fuse-01-09) not working
vsathyamurthy Apr 25, 2011 2:52 PMHello Folks,
I am trying to run camel-quickfix with my example bundle. However I could not make it working. Any help would be ,uch appreciated.
wrap_mvn_org.slf4j_slf4j-log4j13_1.0.1 (0)
wrap_mvn_org.quickfixj.jmx_quickfixj-core_1.5.0 (0)
wrap_mvn_org.hamcrest_hamcrest-core_1.2.1 (0)
wrap_mvn_org.apache.mina_mina-core_1.1.7 (0)
wrap_mvn_org.quickfixj_quickfixj-all_1.5.0 (0)
wrap_mvn_junit_junit_4.8.2 (0)
camel-quickfix (2.6.0.fuse-01-09)
karaf@root> start 347
karaf@root> Exception in thread "SpringOsgiExtenderThread-10" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quickfix' defined in URL bundleentry://347.fwk2550265/META-INF/spring/fix-context.xml: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class or
g.apache.camel.component.quickfixj.QuickfixjComponent
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:965)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.camel.component.quickfixj.QuickfixjComponent
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958)
... 15 more
The below is my pom.xml of example for using quickfix component:
<!-- bean method in charge to transform message into a QuickFix.Message ><!
><! Quickfix engine who will send the FIX messages to the gateway -->
Edited by: vsathyamurthy on Apr 25, 2011 6:50 PM
Edited by: vsathyamurthy on Apr 25, 2011 6:52 PM