cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Standalone Process Engine Configuration

pneudecorb
Champ in-the-making
Champ in-the-making
I am trying to initialize the Process Engine in the following way,

            ProcessEngines.init();
            ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration()
                  .setJdbcUrl("jdbcSmiley Surprisedracle:thin:@sqldevsrv:1521Smiley SurprisedRCL")
                  .setJdbcDriver("oracle.jdbc.driver.OracleDriver")
                  .setJdbcUsername("xxxxxx")
                  .setJdbcPassword("xxxxx")
                  .setJobExecutorActivate(true)
                  .setHistory(ProcessEngineConfiguration.HISTORY_NONE)
                  .buildProcessEngine();
            
            ProcessEngines.registerProcessEngine(processEngine);

Each time I do, I get the following error,

org.activiti.engine.ActivitiException: Activiti database problem: no historyLevel property specified

I specify the History level when I create the engine, so this error doesn't make a whole lot of sense to me.

What am I missing?
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Hi,

As answered via e-mail already, the historyLevel should be set in the Activiti database.

Best regards,

jaikumar
Champ in-the-making
Champ in-the-making
Hi am also getting the same error. Can you please help me on this issue.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Which activiti version do you use? DB historyLevel property is not used from 5.11.

Regards
Martin