AnsweredAssumed Answered

Integrating Activiti with JSF

Question asked by fady_ahmed on Oct 12, 2014
Latest reply on Oct 13, 2014 by martin.grofcik
Am trying to create Activiti process engine from a JSF project , when I call the

ProcessEngine engine = ProcessEngines.getDefaultProcessEngine();

it returns null , even though i've put the activiti.cfg.xml under  "web-inf/classes/"

and when i try to set the configuration programmatically

   ProcessEngine engine = ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration()
               .setJdbcUrl("jdbc:oracle:thin:@localhost:3306/test")
               .setJdbcDriver("oracle.jdbc.OracleDriver")
               .setJdbcUsername("user")
               .setJdbcPassword("pass")
               .setJobExecutorActivate(true)
               .buildProcessEngine();

i get this exception

Error while building ibatis SqlSessionFactory: Error creating document instance.  Cause: java.io.IOException: Server returned HTTP response code: 403 for URL: http://mybatis.org/dtd/mybatis-3-config.dtd
   
any ideas how can i start the engine from JSF ?

Outcomes