cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti In Action: Ch 1 Exception: Error Configuring AutoCommit

pc
Champ in-the-making
Champ in-the-making
I just picked up Activiti in Action and am trying to run the ch 1 Junit on Activiti 5.18. The code works fine creating the PrcessEngine when using the inMem function, but fails when using the createStandaloneProcessEngineConfiguration() method. I get an ibatis exception :Error Configuring AutoCommit.

please help.
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

Which database configuration are you using for the standalone process engine configuration? By default it expects a running standalone H2 database, do you have that running?

Best regards,

pc
Champ in-the-making
Champ in-the-making
i did have it running. I created a DataSource bean (per Activiti User Guide 5.7.3) and pointed my app to a mysql instance and have it working.