Major problems getting an operational system

Well, I’m still struggling even to get simple answers… Nearly 40 years in IT and can’t get a system up and running doesn’t bode well. Must be getting to old for this. :’( It doesn’t help when overly complex frameworks are used, though this doesn’t just apply to OpenMRS.

Looks like I need to start from scratch, again!

@ibacher could be having some insights on this!!

Revised steps, up to a basic running (with error messages) system…

I’m finally getting some place with this, thankfully!

I desperately need to find a way to restrict Java/Tomcat CPU usage, during startup in particular. I’ve already received a warning from the server provider for exceeding CPU usage, which will result in a permanent throttling of the VPS - not good.

The startup duration doesn’t help:

INFO: Server startup in 220733 ms

I’ve been tuning mySQL, which helps once OpenMRS is up & running but appears to have little effect on startup times.

Is it acceptable to turn off autoDeploy in server.xml and what are the consequences? Will this help? Thanks for any advice.

Current errors:

2021-09-06 12:03:07,436 Thread-11 ERROR Attempted to append to non-started appender MEMORY_APPENDER
2021-09-06 12:03:07,546 Thread-11 ERROR Attempted to append to non-started appender MEMORY_APPENDER
2021-09-06 12:03:07,553 Thread-11 ERROR Attempted to append to non-started appender MEMORY_APPENDER
2021-09-06 12:03:07,567 Thread-11 ERROR Attempted to append to non-started appender MEMORY_APPENDER
ERROR - BrokerService.checkSystemUsageLimits(1925) |2021-09-06T12:04:55,565| Temporary Store limit is 51200 mb, whilst the temporary data directory: /var/lib/OpenMRS/activemq-data/localhost/tmp_storage only has 2731 mb of usable space
ERROR - SqlExceptionHelper.logExceptions(142) |2021-09-06T12:05:27,462| Duplicate entry 'c1bf0730-e69e-11e3-ac10-0800200c9a66' for key 'uuid'
ERROR - CommonsLoggingOutput.error(75) |2021-09-06T12:05:37,123| Line=344 The content of element type "dwr" must match "(init?,allow?,signatures?)".
ERROR - CommonsLoggingOutput.error(75) |2021-09-06T12:05:37,144| Parameter mismatch parsing signatures section in dwr.xml on line: DWRHtmlFormEntryService.checkIfLoggedIn()
2021-09-06 12:25:41,080 http-bio-8443-exec-3 ERROR Attempted to append to non-started appender MEMORY_APPENDER
2021-09-06 13:05:06,241 Thread-1165 ERROR Attempted to append to non-started appender MEMORY_APPENDER

cc @dkayiwa

1 Like

Did I say I had major problems getting an fully operation system? :sad:

Security framework of XStream not initialized, XStream is probably vulnerable.
WARN - SerializedDefinitionServiceImpl.getDefinitionByUuid(127) |2021-09-06T18:29:02,787| Unable to deserialize Definition : Serialized org.openmrs.module.appointmentscheduling.reporting.dataset.definition.AppointmentDataSetDefinition named <appointmentschedulingui.appointmentDataSetDefinition.dailyAppointments>
org.openmrs.api.db.DAOException: Unable to deserialize object: Serialized org.openmrs.module.appointmentscheduling.reporting.dataset.definition.AppointmentDataSetDefinition named <appointmentschedulingui.appointmentDataSetDefinition.dailyAppointments>

For the above error, try running this sql statement:

delete from serialized_object where name = 'appointmentschedulingui.appointmentDataSetDefinition.dailyAppointments'

3 Likes

@dkayiwa Thanks. Any comment on the other things above?

@alwaysskint yes it is also acceptable to turn off autoDeploy in the server.xml file.

2 Likes