openmrs standalone issue

@gcliff have you also taken a look at this and that.?