DB generation executes SHUTDOWN COMPACT, but it seems that it doesn't close appropriately the DB: if later you try to open it in read-only mode with URLs like jdbc:h2:~/Da/prj/diversicon-core/dumps/div-wn31;ACCESS_MODE_DATA=r it gives error
org.h2.jdbc.JdbcSQLException: The database is read only [90097-160]
Opening it in rw mode works fine (because writing mode allows the db to recover from the issue)