AnsweredAssumed Answered

Problems with Standalone Process Engine Configuration

Question asked by pneudecorb on May 14, 2012
Latest reply on Aug 8, 2014 by martin.grofcik
I am trying to initialize the Process Engine in the following way,

            ProcessEngines.init();
            ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration()
                  .setJdbcUrl("jdbc:oracle:thin:@sqldevsrv:1521:ORCL")
                  .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?

Outcomes