cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration of a Process Engine

lobnakh
Champ in-the-making
Champ in-the-making
Hello,
Im a new user of Activiti ,I'd already installed activiti 5.1 and tomcat 7 , I followed this tuto :http://activiti.org/userguide/index.html#activiti.setup .When I tried to configure the Process Engine, I didn't know where i could find the XML file named  activiti.cfg.xml. Could somebody help me to solve this problem???
2 REPLIES 2

faizal-manan
Champ in-the-making
Champ in-the-making
as in user guide, activiti.cfg.xml is only required if you use this line of code

ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine()
and as explained in the same section, there's various way to initialize ProcessEngine

jbarrez
Star Contributor
Star Contributor
You can also use ProcessEngineConfiguration.createProcessEngineConfigurationFromResource(pathToYourActivitiCfgXmlFile);