JdbcSQLException: Table "ACT_RE_PROCDEF" not found on shutdown (h2)

I am running a simple (no web) example using spring boot and h2. When the engine is shut down, I get this stack:

org.apache.ibatis.exceptions.PersistenceException: 
### Error querying database.  Cause: org.h2.jdbc.JdbcSQLException: Tabelle "ACT_RE_PROCDEF" nicht gefunden
Table "ACT_RE_PROCDEF" not found; SQL statement:
select distinct RES.*
    
       
    from ACT_RE_PROCDEF RES

How can I get rid of it? I had st. similar with metrics before where I had to disable dbMetricsReportingActivate.

Hi Jan,

maybe something like this fix helps. I added this to prevent exceptions of the metrics reporter on shutdown.

Cheers,
Sebastian

Hi,

this problem is still present with Camun 7.12, and the fix doesn’t help. (I’ve also tried DB_CLOSE_DELAY=-1)

Are there any other ideas how to get rid of this exceptions?

Cheers,
Patrick

2 Likes