Property `cmmnEnabled` not working properly

According to the document Disabling CMMN and Standalone Tasks, I didn’t need the CMMN and set the cmmnEnabled to false. After running the Server, Cockpit first page could not get the data from Rest API and the Rest reported 500 Error.

The Rest API that reported 500 error is here:

http://localhost:8080/camunda/api/engine/engine/default/case-definition/count?latestVersion=true

And the response of above Rest:

type->	"ProcessEngineException"
message->	"An exception occurred in the persistence layer. Please check the server logs for a detailed message and the entire exception stack trace."

Notice that I use H2-create-drop database. When the database and tables are created, CMMN table will not be created. so the Rest API can not find the CMMN table.

The dmnEnabled property, behaves similarly to cmmnEnabled.

Does anyone have an idea?