Note |
---|
This page is outdated and no longer receives updates! |
It is possible to run multiple instances of OpenMRS in the same servlet container instance. OpenMRS looks up database connection properties from the runtime properties file and so the different instances can connect to different databases. The runtime properties file lookup is based on the name of the webapp, so creating a second instance is (almost) as easy as renaming the war file and deploying it.
For servlet container deployments (like Tomcat)
Rename the war file to something new (like openmrs2)
Deploy that war file and go to http://localhost:8080/openmrs2
Run through the database setup in the initialization wizard that comes up
Application Data Directory Folder
...