Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Listener.performWebStartOfModules(671) |2018-05-23 09:17:25,890| Unable to refresh the spring application context. Root Cause was:
org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'patientSearchController' for bean class [org.openmrs.module.cohort.web.controller.PatientSearchController] conflicts with existing, non-compatible bean definition of same name and class [org.openmrs.module.htmlwidgets.web.controller.PatientSearchController]
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:320)
at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:259)
at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:87)
at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1427)
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1417)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:174)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:144)
at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:100)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:510)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452)
at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:842)
at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:866)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:658)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:637)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:268)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
WARN - Listener.performWebStartOfModules(700) |2018-05-23 09:17:25,898| caught another error:
org.openmrs.api.APIException: Service not found: interface org.openmrs.scheduler.SchedulerService
at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:675)
at org.openmrs.api.context.ServiceContext.getSchedulerService(ServiceContext.java:283)
at org.openmrs.api.context.Context.getSchedulerService(Context.java:494)
at org.openmrs.module.web.WebModuleUtil.stopTasks(WebModuleUtil.java:370)
at org.openmrs.module.web.WebModuleUtil.stopModule(WebModuleUtil.java:767)
at org.openmrs.module.web.WebModuleUtil.shutdownModules(WebModuleUtil.java:710)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:677)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:637)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:268)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
WARN - ModuleFactory.stopModule(1094) |2018-05-23 09:17:25,902| Unable to call module's Activator.willStop() method
org.openmrs.api.APIException: Service not found: interface org.openmrs.module.atlas.AtlasService
at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:675)
at org.openmrs.api.context.Context.getService(Context.java:932)
at org.openmrs.module.atlas.AtlasModuleActivator.willStop(AtlasModuleActivator.java:66)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1090)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
INFO - AijarActivator.willStop(366) |2018-05-23 09:17:25,906| Stopping aijar Module
INFO - AijarActivator.stopped(374) |2018-05-23 09:17:25,907| aijar Module stopped
WARN - ModuleFactory.stopModule(1094) |2018-05-23 09:17:26,006| Unable to call module's Activator.willStop() method
java.lang.NullPointerException
at org.openmrs.api.context.ServiceContext.getRegisteredComponents(ServiceContext.java:907)
at org.openmrs.api.context.ServiceContext.getRegisteredComponents(ServiceContext.java:871)
at org.openmrs.api.context.Context.getRegisteredComponents(Context.java:1198)
at org.openmrs.module.reporting.ReportingModuleActivator.cancelAllScheduledTasks(ReportingModuleActivator.java:65)
at org.openmrs.module.reporting.ReportingModuleActivator.willStop(ReportingModuleActivator.java:47)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1090)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
WARN - ModuleFactory.stopModule(1202) |2018-05-23 09:17:26,045| Unable to call module's Activator.shutdown() method
org.openmrs.api.APIException: Service not found: interface org.openmrs.module.appframework.service.AppFrameworkService
at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:675)
at org.openmrs.api.context.Context.getService(Context.java:932)
at org.openmrs.module.referenceapplication.ReferenceApplicationActivator.stopped(ReferenceApplicationActivator.java:275)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1198)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1119)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1119)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1119)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
WARN - ModuleFactory.stopModule(1202) |2018-05-23 09:17:26,094| Unable to call module's Activator.shutdown() method
java.lang.NullPointerException
at org.openmrs.api.context.ServiceContext.getRegisteredComponents(ServiceContext.java:907)
at org.openmrs.api.context.ServiceContext.getRegisteredComponents(ServiceContext.java:871)
at org.openmrs.api.context.Context.getRegisteredComponents(Context.java:1198)
at org.openmrs.module.chartsearch.ChartSearchActivator.getComponent(ChartSearchActivator.java:76)
at org.openmrs.module.chartsearch.ChartSearchActivator.stopped(ChartSearchActivator.java:71)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1198)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1119)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1119)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1119)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
INFO - CoreAppsActivator.willStop(126) |2018-05-23 09:17:26,250| Stopping Core Apps Module
INFO - CoreAppsActivator.stopped(141) |2018-05-23 09:17:26,303| Core Apps Module stopped
INFO - UgandaEMRReportsActivator.stopped(50) |2018-05-23 09:17:26,435| UgandaEMR Reports module stopped
INFO - ReportingModuleActivator.stopped(53) |2018-05-23 09:17:26,585| Reporting Module Stopped...
WARN - ModuleFactory.stopModule(1157) |2018-05-23 09:17:26,732| Could not remove advice point: org.openmrs.api.FormService
java.lang.NullPointerException
at org.openmrs.api.context.ServiceContext.removeAdvice(ServiceContext.java:546)
at org.openmrs.api.context.Context.removeAdvice(Context.java:980)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1153)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
WARN - ModuleFactory.stopModule(1157) |2018-05-23 09:17:26,735| Could not remove advice point: org.openmrs.api.LocationService
java.lang.NullPointerException
at org.openmrs.api.context.ServiceContext.removeAdvisor(ServiceContext.java:535)
at org.openmrs.api.context.Context.removeAdvisor(Context.java:969)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1150)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
WARN - ModuleFactory.stopModule(1157) |2018-05-23 09:17:26,737| Could not remove advice point: org.openmrs.api.UserService
java.lang.NullPointerException
at org.openmrs.api.context.ServiceContext.removeAdvisor(ServiceContext.java:535)
at org.openmrs.api.context.Context.removeAdvisor(Context.java:969)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1150)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
WARN - ModuleFactory.stopModule(1157) |2018-05-23 09:17:26,738| Could not remove advice point: org.openmrs.api.ConceptService
java.lang.NullPointerException
at org.openmrs.api.context.ServiceContext.removeAdvice(ServiceContext.java:546)
at org.openmrs.api.context.Context.removeAdvice(Context.java:980)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1153)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
WARN - ModuleFactory.stopModule(1157) |2018-05-23 09:17:26,742| Could not remove advice point: org.openmrs.module.appframework.service.AppFrameworkService
java.lang.ClassNotFoundException: org.openmrs.module.appframework.service.AppFrameworkService
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1856)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1705)
at org.openmrs.util.OpenmrsClassLoader.loadClass(OpenmrsClassLoader.java:167)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.openmrs.api.context.Context.loadClass(Context.java:189)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1146)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
WARN - ModuleFactory.stopModule(1202) |2018-05-23 09:17:26,847| Unable to call module's Activator.shutdown() method
java.lang.NullPointerException
at org.openmrs.api.context.ServiceContext.getRegisteredComponents(ServiceContext.java:907)
at org.openmrs.api.context.ServiceContext.getRegisteredComponents(ServiceContext.java:871)
at org.openmrs.api.context.Context.getRegisteredComponents(Context.java:1198)
at org.openmrs.util.HandlerUtil.getHandlersForType(HandlerUtil.java:123)
at org.openmrs.module.event.EventActivator.stopped(EventActivator.java:89)
at org.openmrs.module.ModuleFactory.stopModule(ModuleFactory.java:1198)
at org.openmrs.module.ModuleUtil.shutdown(ModuleUtil.java:161)
at org.openmrs.api.context.Context.shutdown(Context.java:900)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
INFO - Activator.stopped(36) |2018-05-23 09:17:26,910| Stopped the REST Web Service module
WARN - Context.shutdown(920) |2018-05-23 09:17:26,918| Error while shutting down context dao
org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.stat.spi.StatisticsImplementor]
at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:201)
at org.hibernate.internal.SessionFactoryImpl.getStatisticsImplementor(SessionFactoryImpl.java:1450)
at org.hibernate.internal.SessionFactoryImpl.getStatistics(SessionFactoryImpl.java:1446)
at org.openmrs.api.db.hibernate.HibernateContextDAO.showUsageStatistics(HibernateContextDAO.java:368)
at org.openmrs.api.db.hibernate.HibernateContextDAO.shutdown(HibernateContextDAO.java:343)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
at com.sun.proxy.$Proxy109.shutdown(Unknown Source)
at org.openmrs.api.context.Context.shutdown(Context.java:916)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
ERROR - Listener.contextInitialized(205) |2018-05-23 09:17:26,920| Got exception while starting up:
org.openmrs.module.ModuleException: Unable to start OpenMRS. Error thrown was: org.openmrs.api.APIException: Service not found: interface org.openmrs.scheduler.SchedulerService
at org.openmrs.web.WebDaemon.startOpenmrs(WebDaemon.java:65)
at org.openmrs.web.Listener.contextInitialized(Listener.java:196)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.servlet.ServletException: org.openmrs.api.APIException: Service not found: interface org.openmrs.scheduler.SchedulerService
at org.openmrs.web.Listener.startOpenmrs(Listener.java:276)
at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
Caused by: org.openmrs.api.APIException: Service not found: interface org.openmrs.scheduler.SchedulerService
at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:675)
at org.openmrs.api.context.ServiceContext.getSchedulerService(ServiceContext.java:283)
at org.openmrs.api.context.Context.getSchedulerService(Context.java:494)
at org.openmrs.module.web.WebModuleUtil.stopTasks(WebModuleUtil.java:370)
at org.openmrs.module.web.WebModuleUtil.stopModule(WebModuleUtil.java:767)
at org.openmrs.module.web.WebModuleUtil.shutdownModules(WebModuleUtil.java:710)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:677)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:637)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:268)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment