AnsweredAssumed Answered

Exception while initializing process engine

Question asked by luisalves00 on Jul 28, 2011
Latest reply on Aug 5, 2011 by jbarrez
I'm creating the ProcessEngine like this:


ProcessEngine processEngine = ProcessEngineConfiguration
                    .createStandaloneProcessEngineConfiguration()
                    .setJdbcUrl(…..
                    .setHistory("audit")
                    .setProcessEngineName(ACTIVITI_ENGINE_NAME)
                    .buildProcessEngine();

then when I issue this:

ProcessEngines.getProcessEngine(ACTIVITI_ENGINE_NAME);

I get this exception:

11:05:08,137 ERROR ProcessEngines:157 - Exception while initializing process engine :No bean named 'processEngineConfiguration' is defined

why? do I still need the activiti.cfg.xml?!?!

Outcomes