search
attachments
weblink
advanced
Manage space
Manage content
Integrations
If you have used this method to install openmrs Setting of OpenMRS development environment and getting started up then this trouble shooting might be required.
In my case:
- mvn clean install: It ran perfectly fine.
- sudo mvn jetty:run: It didn't and the stack trace for the same is: http://pastebin.com/GgZXQRWh
This stack trace means that there is some process running on localhost:8080/ , in my case it was the tomcat server which I installed while setting up openmrs.
There is a useful post here: http://stackoverflow.com/questions/4071817/how-to-shutdown-tomcat-in-ubuntu
- ps aux | grep java
- Note down the process id of tomcat server running on localhost:8080/ and use the command: sudo kill -9 pid (where pid is noted from step 1).
Now reboot the system and try running openmrs in the normal way. It wll work this time.
Happy Contributing.