OpenMRS Platform installation - No User Interface message

Application Name: Platform + Reference Application modules Version Number: 2.0.5

Question: Hi everyone, I’m new to OpenMRS, so please forgive me if these are basic questions… I’ve just installed OpenMRS Platform Enterprise, plus all modules from the Reference Application on my machine. But upon startup, it keeps displaying that I don’t have a User Interface. I’ve followed the instructions to copy the .omod files to the modules directory (located in the same location as my file). Here are my specs:

  1. Running Windows Server 2003
  2. Java 1.8.0_151
  3. Tomcat 6.0
  4. MySQL 5.6
  5. OpenMRS Platform Enterprise 2.0.5
  6. OpenMRS Reference Application modules 2.6.1

When I start OpenMRS, I see a message “OpenMRS Platform Running!”, but there is no User Interface. But I’ve followed the instructions to install legacyui as well as all modules from #6 above. All .omod files are copied to C:\WINDOWS\system32\config\systemprofile\Application Data\OpenMRS\modules. I confirm that is also located at C:\WINDOWS\system32\config\systemprofile\Application Data\OpenMRS, as well as openmrs.log, which is written to upon startup. I’ve also restarted Tomcat. I’ve also tried to install the Reference Application standalone version, and this also gives me the same message that it’s running successfully but has not User Interface.

Could someone please help? Thank you!

1 Like

Oooohh sorry for this. I think you may have a look at this

With the mouse in your browser address bar, can you press CTRL + SHIFT + R and tell us what happens?


Hi All, When I press CTRL+SHIFT+R, I get the same screen. I did follow the instructions on I installed legacyui as well as all modules in the Reference Application, but I’m still seeing the same results. The openmrs.log seems to suggest that the modules are being loaded, though. Thanks!

Can you clear your browser cache?

Have cleared the cache as well. BTW, I am using Chrome - is that a problem? Thanks

Can you paste your tomcat log at

Will do when I get home from work tonight (in about 5-6 more hours). If there is anything else that you feel would be useful to see, please let me know so that I can prepare all of this for you tonight. Thanks

Hi Daniel, I’ve pasted the following logs at Tomcat: stdout.log, jakarta_service.log, catalina.log, manager.log, localhost.log OpenMRS: openmrs.log, liquibaseUpdateLogs.txt

All of these were cleaned prior to my last attempt at redeploying OpenMRS again, so the logs should be compact. Furthermore, each log is separated by “*********************************” for easy readability. Please let me know if you need anything else. Thanks for the help!

Dear Avo, I think I solved the problem try the system and user variables as described in this v2.0 Implementation Documentation. That solved my problem.

The pastebin link says, This page has been removed! Am also assuming that you have tried more than one browser and still get the same behavior.

If the above is blocking you, you may want to try this.

Hi All,

Yes, my logs were removed from pastebin. I guess they didn’t like what I pasted???

I tried following tenios’ instructions for setting up the environment variables and restarted tomcat/openmrs. I got the same message. I then went to the URL and typed ctr-shift-r and got the following. Hope this helps a little:

The following error occurred at startup: Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘reportingSerializer’ defined in URL [jar:file:/C:/WINDOWS/system32/config/systemprofile/Application%20Data/OpenMRS/.openmrs-lib-cache/reporting/lib/reporting-api-1.12.0.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.reporting.serializer.ReportingSerializer]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Enhancer org.openmrs.module.ModuleException: Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘reportingSerializer’ defined in URL [jar:file:/C:/WINDOWS/system32/config/systemprofile/Application%20Data/OpenMRS/.openmrs-lib-cache/reporting/lib/reporting-api-1.12.0.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.reporting.serializer.ReportingSerializer]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Enhancer at org.openmrs.web.WebDaemon.startOpenmrs( at org.openmrs.web.Listener.contextInitialized( at org.apache.catalina.core.StandardContext.listenerStart( at org.apache.catalina.core.StandardContext.start( at org.apache.catalina.core.ContainerBase.addChildInternal( at org.apache.catalina.core.ContainerBase.addChild( at org.apache.catalina.core.StandardHost.addChild( at org.apache.catalina.startup.HostConfig.deployDescriptor( at org.apache.catalina.startup.HostConfig.deployDescriptors( at org.apache.catalina.startup.HostConfig.deployApps( at org.apache.catalina.startup.HostConfig.start( at org.apache.catalina.startup.HostConfig.lifecycleEvent( at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent( at org.apache.catalina.core.ContainerBase.start( at org.apache.catalina.core.StandardHost.start( at org.apache.catalina.core.ContainerBase.start( at org.apache.catalina.core.StandardEngine.start( at org.apache.catalina.core.StandardService.start( at org.apache.catalina.core.StandardServer.start( at org.apache.catalina.startup.Catalina.start(…

Dear Evo sorry to bother you but I had a similar message. What I did was to erase the whole OpenMRS installation (from Apache and c:/windows/system32/config/systemprofile/ ) plus database plus logs and reconfigure everything. If we accept that we both have similar configuration (windows server, apache, mysql, java) and if we both had forseen variables I dont see why it did not work fow you. I would suggest to insist. The interface problem troubled me for a week and so. It was a pure lack that I found the link and decided to try it before dropping down the whole OpenMRS. Best luck.

Hi All,

Just a quick update. I re-deployed OpenMRS again and copied over the .omod files as well. This time, when I go to the url bar and type in ctrl+shift+r, I no longer get an error message, but I still get the “no user interface” message.

Since I am unable to use pastebin, here are some errors that I see in the logs:


WARN - Module.expandExtensionNames(546) |2017-11-28 12:09:45,503| fhir: Unable to find class definition for extension: org.openmrs.admin.list java.lang.NoClassDefFoundError: org/openmrs/module/web/extension/AdministrationSectionExt at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass( at at at$100( at$ at$ at Method) at at org.openmrs.module.ModuleClassLoader.loadClass( at org.openmrs.module.ModuleClassLoader.loadClass(

tomcat stdout.log:

WARN - |2017-11-28 12:17:01,883| Not running scheduled task. DaemonToken = null; enabled = false WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2017-11-28 12:17:13,364| Neither ‘urlMap’ nor ‘mappings’ set on SimpleUrlHandlerMapping INFO - ServiceContext.doneRefreshingContext(827) |2017-11-28 12:17:13,926| Done refreshing Context Exception in thread “Thread-10” java.lang.NoClassDefFoundError: javax/servlet/ServletRegistration at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods( at java.lang.Class.getDeclaredMethods( at org.springframework.util.ReflectionUtils.getDeclaredMethods( at org.springframework.util.ReflectionUtils.doWithMethods( at org.springframework.util.ReflectionUtils.doWithMethods( at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors( at at at at at$1.getObject( at at at at at at at org.openmrs.module.ModuleUtil.refreshApplicationContext( at org.openmrs.module.web.WebModuleUtil.refreshWAC( at org.openmrs.web.Listener.performWebStartOfModules( at org.openmrs.web.Listener.performWebStartOfModules( at org.openmrs.web.Listener.startOpenmrs( at org.openmrs.web.WebDaemon$

tomcat localhost.log:

Nov 28, 2017 12:09:45 PM org.apache.catalina.core.StandardContext listenerStop SEVERE: Exception sending context destroyed event to listener instance of class org.openmrs.web.Listener java.lang.NullPointerException at sun.reflect.UnsafeFieldAccessorImpl.ensureObj( at sun.reflect.UnsafeObjectFieldAccessorImpl.get( at java.lang.reflect.Field.get( at org.openmrs.util.MemoryLeakUtil.shutdownMysqlCancellationTimer( at org.openmrs.web.Listener.contextDestroyed( at org.apache.catalina.core.StandardContext.listenerStop( at org.apache.catalina.core.StandardContext.stop( at org.apache.catalina.manager.ManagerServlet.stop( at org.apache.catalina.manager.HTMLManagerServlet.stop( at org.apache.catalina.manager.HTMLManagerServlet.doGet( at javax.servlet.http.HttpServlet.service( at javax.servlet.http.HttpServlet.service( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.catalina.core.StandardWrapperValve.invoke( at org.apache.catalina.core.StandardContextValve.invoke( at org.apache.catalina.authenticator.AuthenticatorBase.invoke( at org.apache.catalina.core.StandardHostValve.invoke( at org.apache.catalina.valves.ErrorReportValve.invoke( at org.apache.catalina.core.StandardEngineValve.invoke( at org.apache.catalina.connector.CoyoteAdapter.service( at org.apache.coyote.http11.Http11Processor.process( at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( at$ at

@avo can you use for your logs to make it easier to read this thread?

Hi dkayiwa,

I did use pastebin, but they removed it for some reason.

You can try again.

Hi dkawayiwa,

I’ve reposted it:


Did you also install the legacyui module?

Can you try tomcat versions from 7 and above?