AnsweredAssumed Answered

activiti.cfg.xml not getting picked up from activiti-rest webapp

Question asked by shuchi on Nov 27, 2014
Latest reply on Dec 26, 2014 by shuchi
Hi,

I have put activiti.cfg.xml in WEB-INF/classes directory of activiti-rest webapp which I have deployed in Tomcat. I have put email configuration inside it:

   <bean id="processEngineConfiguration"
      class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
      <property name="mailServerHost" value="smtp.sendgrid.net" />
      <property name="mailServerUsername" value="user" />
      <property name="mailServerPassword" value="123" />
   </bean>

But the mail properties are not getting picked up. I am presuming the default way of initialising ProcessEngine is being used and this spring config is not being read.

Please help!

Thanks,
Shuchi

Outcomes