What version of Tomcat (or other server) are others using? It seems that most are still on Tomcat7, though I’ve seen a couple references to using Tomcat8. Should we as a community move to a supported version?
@tanderson I have once in a while got the above reported error, but on tomcat 7. It started showing up when we moved the user interface out of the platform into the legacyui module.
That being said, there is nothing that am aware of, which should prevent OpenMRS from running on tomcat 8 and 9. I have seen different people (on talk) successfully running OpenMRS on tomcat 8 and 9.
Thanks @dkayiwa, I think we are pretty committed to using the legacyui for at least some content for a while so this remains an open question on our side. We use legacyui both for a base patient dashboard and many of the Rwanda specific functions like billing and pharmacy were designed in 1.9 and adapted for legacyui.
It still seems to launch the WAR file, but without all the extra files. I suspect the expanded files in the WAR was why this issue didn’t come up with Cargo before.
@ibacher it so intriguing that i have not succeeded in reproducing it even with your simplified version. Am just running mvn cargo:run from command line.
@dkayiwa Not to ask a really stupid question, but did you run something like mvn clean package or mvn clean install before trying the simplified cargo setup?
I have been running OpenMRS enterprise version with tomcat 9 with no more issues, there were connectivity errors at the beginning but it has been resolved as of now. I did the mvn clean install, and ran it through the webapp directory.