Better Error Submission Process for FDBK Module - Presentation


GSoC Project Progress Presentation

21th June 2012 @ OpenMRS Dev Forum



 

Playback Recording





Presentation Slides


Reference links used in the Presentation - Feedback Module

Project Contents 

Demo of the work done so far (Hosted OpenMRS)

Username:  admin
Password:  Admin123

User Documentation

What do I do when I see java.lang.OutOfMemoryError: PermGen

Troubleshooting JVM Memory Errors

java.lang.OutOfMemoryError: PermGen space

In my endeavors to troubleshoot tomcat memory issues i performed the following in Ubuntu 10.04:
sudo gedit /etc/init.d/tomcat6
Changed (~line 81):
if [ -z "$JAVA_OPTS" ]; then
        JAVA_OPTS="-Djava.awt.headless=true -Xmx128M"
fi
To:
if [ -z "$JAVA_OPTS" ]; then
        JAVA_OPTS="-Djava.awt.headless=true -Xmx1024M -Xms1024M -XX:PermSize=256m -XX:MaxPermSize=256m -XX:NewSize=128m"
fi
You can as well explicitly state in catalina.sh file as follows (in bold):
#!/bin/sh
CATALINA_OPTS="-Xms1024m -Xmx1024m"

___________
REF : https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors

Preventing from Mysql holding hand shake problem for OpenMRS WebApp.

Waiting for changelog lock....
Waiting for changelog lock....
Waiting for changelog lock....
Waiting for changelog lock....
ERROR - Listener.contextInitialized(124) |2009-05-26 12:07:49,197| Got exception while starting up: 
javax.servlet.ServletException: java.lang.RuntimeException: error getting unrun updates on the database
 at org.openmrs.web.Listener.setupNeeded(Listener.java:144)

Solution.

You must have attempted an upgrade at some point and it failed in the middle. The liquibase changelog lock is not getting released in these cases. You can manually clear the lock by emptying the liquibasechangeloglock table:

By firing the following command in mysql

delete from liquibasechangeloglock;

(Make sure to not delete the liquibasechangelog table contents, those are important!)


REF : http://openmrs-mailing-list-archives.1560443.n2.nabble.com/Waiting-for-changelog-lock-td5166981.html

http://dev.openmrs.org/ticket/1524