<kie:import releaseId-ref="drools-rules" enableScanner="true" scannerInterval="10000"/>
<kie:releaseId id="drools-rules" groupId="com.company" artifactId="drools-rules" version="0.0.1-SNAPSHOT"/>
2015-03-20 22:21:07 ERROR ContextLoader:331 - Context initialization failed
java.lang.IllegalStateException: Could not register object [org.kie.scanner.KieRepositoryScannerImpl@587c7377] under bean name 'drools-rules-import#scanner': there is already object [org.kie.scanner.KieRepositoryScannerImpl@587c7377] bound
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.registerSingleton(DefaultSingletonBeanRegistry.java:129)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.registerSingleton(DefaultListableBeanFactory.java:821)
at org.kie.spring.factorybeans.KieImportFactoryBean.registerKieBases(KieImportFactoryBean.java:129)
at org.kie.spring.factorybeans.KieImportFactoryBean.postProcessBeanFactory(KieImportFactoryBean.java:108)
.
.
.
2015-03-20 22:21:07 WARN XmlWebApplicationContext:883 - Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Fri Mar 20 22:20:53 EDT 2015]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:346)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:333)
.
.
.
2015-03-20 22:21:07 WARN XmlWebApplicationContext:891 - Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Fri Mar 20 22:20:53 EDT 2015]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:359)
Hi,
I'd need to check what you're doing and try to debug your problem to figure out what's happening there. Could you please provide a small reproducer?
Thanks,
Mario
--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/a2e7bc3e-5601-44f4-8bb2-8e997e15b61e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
configurableListableBeanFactory.registerSingleton(releaseIdName + "#scanner", kieScanner);