cancel
Showing results for 
Search instead for 
Did you mean: 

DB Error on Startup

mgriffith
Champ in-the-making
Champ in-the-making
I am running Activiti 5.5, and I'm getting this error on startup:

SEVERE: Exception while initializing process engine :no activiti tables in db.  set <property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in activiti.cfg.xml for automatic schema creation
org.activiti.engine.ActivitiException: no activiti tables in db.  set <property name="databaseSchemaUpdate" to value="true" or value="create-drop" (use create-drop for testing only!) in bean processEngineConfiguration in activiti.cfg.xml for automatic schema creation
I've tried setting the databaseSchemaUpdate of my process engine configuration to true, create-drop and to false (currently set to false) but it seems I always get this problem.


<property name="databaseSchemaUpdate" value="false" />

What can I do to fix this?

Any/all replies appreciated.  Thanks in advance!
1 REPLY 1

micha1
Champ on-the-rise
Champ on-the-rise
Hi,

I think the error message is clear, the activiti engine does not found all the necessary tables. Ensure that your configuration with <property name="databaseSchemaUpdate" value="true" /> is definitely used by your startup code.