KenyaEMR is unable to launch correctly

KenyaEMR might fail to launch due to several reasons. The most common one relates to a bean error which might display as follows:

User encounters an error message ” Error creating bean with name’MessageSourceServiceTarget’ defined in class path resource [applicationContext-service.xml].

To fix this error, you need to force a rebuilt of OpenMRS indexes as follows:

  • Open terminal and type; cd /usr/share/tomcat6/.OpenMRS/lucene/indexes/ (press ENTER)
  • Type sudo rm -rf * (press ENTER)
  • Type cd (press ENTER)
  • Type: sudo service tomcat6 restart (click ENTER)

Log in to KenyaEMR and rebuild search index on Developer panel as follows:

  • Login into KenyaEMR  as Admin
  • Click Home
  • Click on Developer icon
  • Click on  Legacy admin UI
  • Under Maintenance, click Search Index
  • On the Search Index page, click on Rebuild Search Index button.
  • Wait for the process to complete.

Comments are closed