I am trying to install Platform 2.0.2 but it is not working. I am dropping the file into tomcat, it expands and thats it.
I cannot initiate setup. I am not sure what am I missing. I tried a war file for 1.11.5 and it works fine.
Anybody experienced the same issue or have suggestions
Reference Application 2.5 requires platform 2.x
If you look in the tomcat log files, you will see the location of the runtime properties file and hence the modules folder.
With platform 2.x, the legacy ui was moved into a module. So to see the login window that i think you are looking for, just download the legacyui module, drop it in the modules folder, and restart tomcat.
Yes @dkayiwa I agree
However, I don’t think the war file was extracted fully. I don’t think it created the module folder of the properties file. The logs shows this error.
There is something different about 2.0.1 it is not like previous versions
I’m posting this just in case you haven’t found the solution yet.
Aside from java 1.8 you also need tomcat 8 or later. I know because I have encountered this problem before. The problem was that in tomcat6, 50mb is the upload size limit and the openmrs 2.0 war file is about 71mb.
In tomcat 8 or later you have the option to change the limit by changing the following lines in the web.xml file (mine is found in /opt/tomcat/webapps/manager/WEB-INF/web.xml):
Look for:
<multipart-config>
<!-- 50MB max -->
<max-file-size>52428800</max-file-size>
<max-request-size>52428800</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>
Replace it with:
<multipart-config>
<!-- 80MB max -->
<max-file-size>82428800</max-file-size>
<max-request-size>82428800</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>
I’ve also attached a file which discusses in detail the steps I have followed to install OpenMRS 2.0. It might be of some help to you.
OpenMRS2.0Installation.pdf (190.8 KB)