Multiple instances

I am trying to have mulitple instances installed. I am follwing this tip

Modify the openmrs.war file: /WEB-INF/web.xml file Change the context parameter “application.data.directory” to something. (use a trailing slash)

Can anybody give me an example to what I can change the application.data.directory for?

Thanks very much

Is this of any help? https://wiki.openmrs.org/display/docs/Multiple+Instances+of+OpenMRS

Yes @dkayiwa … the document is very helpful … I actually copy-pasted the sentence above from it . As I am not a developer , I will really appreciate to see an example of this :

Modify the openmrs.war file: /WEB-INF/web.xml file Change the context parameter “application.data.directory” to something. (use a trailing slash)

To be more precise , my question is How this “something” looks like ? :slight_smile:

Is it a file address ?

You could use the “application_data_directory” property in your runtime properties file. @yadamz is this for production usage? Or simply for testing purposes? If for testing, the standalone versions can be very easy to use for non developers.

Yes @dkayiwa … you are right … however , I am hoping to get multiple instances for production .

@yadamz, docker would be your best choice! You can use SDK to dockerize your distro. See: https://wiki.openmrs.org/display/docs/OpenMRS+SDK#OpenMRSSDK-Creatingdockerconfigurationfordistribution

You can run Tomcat on different ports with:

set TOMCAT_PORT=8080
docker-compose up