Hi,
upon executing the application ,I am getting the following error, can u give an idea upon that...
Sep 12, 2011 4:25:24 PM org.springframework.context.support.AbstractApplic ationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlAp plicationContext@1bd0dd4: startup date [Mon Sep 12 16:25:24 IST 2011]; root of context hierarchy
Sep 12, 2011 4:25:25 PM org.springframework.beans.factory.xml.XmlBeanDefin itionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [jms-spring-context.xml]
Sep 12, 2011 4:25:25 PM org.springframework.integration.config.xml.Default ConfiguringBeanFactoryPostProcessor registerErrorChannelIfNecessary
INFO: No bean named 'errorChannel' has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
Sep 12, 2011 4:25:25 PM org.springframework.integration.config.xml.Default ConfiguringBeanFactoryPostProcessor registerTaskSchedulerIfNecessary
INFO: No bean named 'taskScheduler' has been explicitly defined. Therefore, a default ThreadPoolTaskScheduler will be created.
Sep 12, 2011 4:25:25 PM org.springframework.beans.factory.support.DefaultL istableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@15d17d7: defining beans [jmsConfiguration,messageHandler,org.springframewor k.context.annotation.internalConfigurationAnnotati onProcessor,org.springframework.context.annotation .internalAutowiredAnnotationProcessor,org.springfr amework.context.annotation.internalRequiredAnnotat ionProcessor,org.springframework.context.annotatio n.internalCommonAnnotationProcessor,org.springfram ework.integration.internalDefaultConfiguringBeanFa ctoryPostProcessor,output,input,org.springframewor k.integration.jms.JmsSendingMessageHandler#0,org.s pringframework.integration.config.ConsumerEndpoint FactoryBean#0,org.springframework.jms.listener.Def aultMessageListenerContainer#0,org.springframework .integration.jms.ChannelPublishingJmsMessageListen er#0,org.springframework.integration.jms.JmsMessag eDrivenEndpoint#0,org.springframework.integration. config.RouterFactoryBean#0,org.springframework.int egration.config.ConsumerEndpointFactoryBean#1,inve ntory,shouter,connectionFactory,nullChannel,errorC hannel,_org.springframework.integration.errorLogge r,taskScheduler,org.springframework.integration.co nfig.IdGeneratorConfigurer#0]; root of factory hierarchy
SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
Sep 12, 2011 4:25:25 PM org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultL istableBeanFactory@15d17d7: defining beans [jmsConfiguration,messageHandler,org.springframewor k.context.annotation.internalConfigurationAnnotati onProcessor,org.springframework.context.annotation .internalAutowiredAnnotationProcessor,org.springfr amework.context.annotation.internalRequiredAnnotat ionProcessor,org.springframework.context.annotatio n.internalCommonAnnotationProcessor,org.springfram ework.integration.internalDefaultConfiguringBeanFa ctoryPostProcessor,output,input,org.springframewor k.integration.jms.JmsSendingMessageHandler#0,org.s pringframework.integration.config.ConsumerEndpoint FactoryBean#0,org.springframework.jms.listener.Def aultMessageListenerContainer#0,org.springframework .integration.jms.ChannelPublishingJmsMessageListen er#0,org.springframework.integration.jms.JmsMessag eDrivenEndpoint#0,org.springframework.integration. config.RouterFactoryBean#0,org.springframework.int egration.config.ConsumerEndpointFactoryBean#1,inve ntory,shouter,connectionFactory,nullChannel,errorC hannel,_org.springframework.integration.errorLogge r,taskScheduler,org.springframework.integration.co nfig.IdGeneratorConfigurer#0]; root of factory hierarchy
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.integration.config.ConsumerEn dpointFactoryBean#1': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No poller has been defined for endpoint 'org.springframework.integration.config.ConsumerEn dpointFactoryBean#1', and no default poller is available within the context.
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 93)
at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222)
at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:290 )
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:192)
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:567)
at org.springframework.context.support.AbstractApplic ationContext.finishBeanFactoryInitialization(Abstr actApplicationContext.java:895)
at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:425)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:139)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:83)
at com.apress.prospringintegration.test.main(test.jav a:38)
Caused by: java.lang.IllegalArgumentException: No poller has been defined for endpoint 'org.springframework.integration.config.ConsumerEn dpointFactoryBean#1', and no default poller is available within the context.
at org.springframework.util.Assert.notNull(Assert.jav a:112)
at org.springframework.integration.config.ConsumerEnd pointFactoryBean.initializeEndpoint(ConsumerEndpoi ntFactoryBean.java:180)
at org.springframework.integration.config.ConsumerEnd pointFactoryBean.afterPropertiesSet(ConsumerEndpoi ntFactoryBean.java:135)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1477)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1417)
... 12 more


Reply With Quote