AnsweredAssumed Answered

activiti.cfg.xml for custom usermanagement

Question asked by kethur on Oct 18, 2012
Latest reply on Oct 19, 2012 by jbarrez
Hi Team,

I am trying to use the below params in my activiti.cfg.xml.  But, I am not sure where to place this file.  I tried one option and it worked for me but i am not sure, if that is the right way to do. 

I kept my activiti.cfg.xml under XX\apache-tomcat-6.0.32\webapps\activiti-rest\WEB-INF\classes
and removed existing activiti-context.xml file then it worked.

I had gone through various posts but nothing actually worked for me other than the above method. Could you please explain what actually happens with activiti.cfg.xml and which is the correct steps to make this working?

My activiti.cfg.xml contains… 
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
      <property name="databaseSchemaUpdate" value="true" />
      <property name="history" value="audit" />

      <property name="customSessionFactories">
               <constructor-arg ref="MyConnectionParams" />
               <constructor-arg ref="MyConnectionParams" />