Wiki Spaces
Documentation
Projects
Resources
Get Help from Others
Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack
Windows:
Ensure that Tomcat is started by checking to see if icon in the tray is green or by using this command on cmd: wmic.exe process list brief | find /i "tomcat"
At the end of this process, the web page will refresh and /openmrs should be displayed under Applications. Apache Tomcat should also start the application (Running = True; and in Commands, Stop is underlined)
Another way to do this is unzipping the .war file directly under webapps folder in Tomcat and then restarting it. You will be able to access http://localhost:8080/openmrs and the installation wizard will show.
4 Comments
James Arbaugh
With the default settings of Tomcat 7, you will get an error while uploading the war file; FileUploadBase$SizeLimitExceededException. For the work-around visit Troubleshooting Tomcat - Tomcat error when uploading war file - FileUploadBase$SizeLimitExceededException
Unknown User (julianmaya)
In ubuntu from a ssh conection download and deploy:
wget http://hivelocity.dl.sourceforge.net/project/openmrs/releases/OpenMRS_1.9.0/openmrs.war
sudo apt-get install unzip
sudo unzip openmrs.war -d /var/lib/tomcat6/webapps/openmrs
sudo service tomcat6 restart
cd /var/lib/tomcat6/webapps/openmrs
sudo chown -R tomcat6
finally go to http://localhost:8080/openmrs
Unknown User (madhulika)
Hi Julian,
I am getting an error "Unrecognized service" for command "sudo service tomcat6 restart". I restarted the service by going into /opt/tomcat6/bin directory and then continued with the above commands but it was unable to locate /openmrs directory. Please help me in deploying it.
Thanks
Madhulika
Unknown User (shangeetha)
Hi
There is no such directory called /var/lib/tomcat6/webapps/openmrs.. What shall i do for it? Thanks.