Camunda stability issue without doing anything

Hello there I am using Camunda platform on V7.15 &7.16 I find that it would something return internal server error but I dont do anything, anyone have same problem? I am using Mysql 8.0 database.

I check the log and here are some example:

Sample log (1)

2021-11-19T10:08:07.019879271+08:00 stderr F 19-Nov-2021 02:08:06.828 SEVERE [http-nio-8080-exec-8] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.

2021-11-19T10:08:07.019879271+08:00 stderr F org.camunda.bpm.engine.ProcessEngineException: An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.

2021-11-19T10:08:07.019879271+08:00 stderr F at org.camunda.bpm.engine.impl.util.ExceptionUtil.wrapPersistenceException(ExceptionUtil.java:263)

Sample log (2)

2021-11-19T10:07:36.837902423+08:00 stderr F 19-Nov-2021 02:07:36.823 SEVERE [http-nio-8080-exec-4] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.

2021-11-19T10:07:36.837902423+08:00 stderr F org.camunda.bpm.engine.ProcessEngineException: An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.

2021-11-19T10:07:36.837902423+08:00 stderr F at org.camunda.bpm.engine.impl.util.ExceptionUtil.wrapPersistenceException(ExceptionUtil.java:263)

Sample log (3)

2021-11-19T10:07:36.837902423+08:00 stderr F 19-Nov-2021 02:07:36.823 SEVERE [http-nio-8080-exec-4] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.

2021-11-19T10:07:36.837902423+08:00 stderr F org.camunda.bpm.engine.ProcessEngineException: An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace.

2021-11-19T10:07:36.837902423+08:00 stderr F at org.camunda.bpm.engine.impl.util.ExceptionUtil.wrapPersistenceException(ExceptionUtil.java:263)

Hi

Perhaps the issue is connections between you engine and db are stale and timing out overnight? Jence look for firewall or similar between these components which could cause connections to become stale…

Consider adding configuration to the db connection pool for test on borrow, validation query, max time to live…

Regards

Rob

1 Like