Hello Everyone,
I’m trying to setup the OpenMRS server with SDK. I’m at the last step. However I am stuck in this step for the last 3 hours or so.
I started the server and now it’s showing the following output.
This keeps spinning for last 3 hours or so like I mentioned. In the logs it says,
Starting OpenMRS
Number of actions completed so far: 1061
Server log file output:
WARN - IdgenTask.run(32) |2026-03-18T15:26:00,838| Not running scheduled task. DaemonToken = null; enabled = false
INFO - ServiceContext.doneRefreshingContext(852) |2026-03-18T15:26:04,783| Done refreshing Context
ERROR - AddressConfigurationLoader.loadAddressConfiguration(67) |2026-03-18T15:26:07,127| Address hierarchy configuration file appears invalid, skipping the loading process: /Users/arunoda/openmrs/adziopenmrs/configuration/addresshierarchy/addressConfiguration.xml
ERROR - AddressConfigurationLoader.loadAddressConfiguration(67) |2026-03-18T15:26:29,302| Address hierarchy configuration file appears invalid, skipping the loading process: /Users/arunoda/openmrs/adziopenmrs/configuration/addresshierarchy/addressConfiguration.xml
WARN - TimerSchedulerTask.saveLastExecutionTime(74) |2026-03-18T15:30:59,101| Unable to save the last execution time for task. Task.taskDefinition is null in class org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper
INFO - Slf4JLogger.log(43) |2026-03-18T15:25:31,494| Successfully released change log lock
INFO - ServiceContext.startRefreshingContext(841) |2026-03-18T15:25:32,192| Refreshing Context
INFO - StorageServiceCondition.matches(38) |2026-03-18T15:25:36,664| Selected storage type: local
INFO - StorageServiceCondition.matches(38) |2026-03-18T15:25:40,265| Selected storage type: local
INFO - StorageServiceCondition.matches(38) |2026-03-18T15:25:40,280| Selected storage type: local
INFO - Context.setAuthenticationScheme(198) |2026-03-18T15:25:59,428| An authentication scheme override was provided. Using this one in place of the OpenMRS default authentication scheme.
WARN - IdgenTask.run(32) |2026-03-18T15:26:00,838| Not running scheduled task. DaemonToken = null; enabled = false
java.lang.IllegalStateException: Filters cannot be added to context [/openmrs] as the context has been initialised
at org.apache.catalina.core.ApplicationContext.checkState(ApplicationContext.java:1227)
at org.apache.catalina.core.ApplicationContext.addFilter(ApplicationContext.java:730)
at org.apache.catalina.core.ApplicationContext.addFilter(ApplicationContext.java:712)
at org.apache.catalina.core.ApplicationContextFacade.addFilter(ApplicationContextFacade.java:432)
at org.openmrs.web.WebComponentRegistrar.setServletContext(WebComponentRegistrar.java:39)
at org.springframework.web.context.support.ServletContextAwareProcessor.postProcessBeforeInitialization(ServletContextAwareProcessor.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:921)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:891)
at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:948)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:722)
at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:700)
at org.openmrs.web.Listener.startOpenmrs(Listener.java:361)
at org.openmrs.web.WebDaemon.lambda$startOpenmrs$0(WebDaemon.java:42)
at org.openmrs.api.context.Daemon.lambda$runInDaemonThreadInternal$5(Daemon.java:489)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
INFO - ServiceContext.doneRefreshingContext(852) |2026-03-18T15:26:04,783| Done refreshing Context
ERROR - AddressConfigurationLoader.loadAddressConfiguration(67) |2026-03-18T15:26:07,127| Address hierarchy configuration file appears invalid, skipping the loading process: /Users/arunoda/openmrs/adziopenmrs/configuration/addresshierarchy/addressConfiguration.xml
ERROR - AddressConfigurationLoader.loadAddressConfiguration(67) |2026-03-18T15:26:29,302| Address hierarchy configuration file appears invalid, skipping the loading process: /Users/arunoda/openmrs/adziopenmrs/configuration/addresshierarchy/addressConfiguration.xml
WARN - TimerSchedulerTask.saveLastExecutionTime(74) |2026-03-18T15:30:59,101| Unable to save the last execution time for task. Task.taskDefinition is null in class org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper
Mar 18, 2026 5:59:27 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring DispatcherServlet 'openmrs'
Appreciate some help in here.
Best Regards, Adeesha
