when working on openmrs-core, I would like to test the packaged .war on a configured distribution server, without having to resort to mvn jetty:run and adding the modules, etc. The easiest way would be if I could use my .war file on the server I created via openmrs-sdk:setup.
I tried to replace the existing openmrs-2.0.6.war file, and renamed it so there is no version error, but it doesn’t seem to actually use my .war, as my changes are not there.
thanks for your reply. When I start the server I deployed it on, it tells me that it is in maintenance mode and needs to do some database updates (e.g. Add unique_id column to concept_reference_source and more). This fails, and I get these errors: https://pastebin.com/gAkLBSBx
The server I deployed it on was a Distribution Server with default settings, are there any settings that have to be made to make it work?
I built a new server as a platform server, and it works now. So I guess the error happened because the server already went through the setup stages with the other openmrs-core .war file and this caused problems, when deploying a new one? My first try was also with a Reference Application server, not sure if deploying it on a platform server made any difference.