AnsweredAssumed Answered

Database and mail configuration

Question asked by ozkan on Mar 12, 2014
Latest reply on Mar 17, 2014 by jbarrez
Hello everyone,
Here is my bean that in activiti.cfg.xml

<bean id="processEngineConfiguration"
      class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
      <bean id="processEngineConfiguration"
         class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">

         <!– Database configurations –>
         <property name="databaseSchemaUpdate" value="true" />
         <property name="jdbcUrl" value="jdbc:postgresql://localhost:5432/activiti" />
         <property name="jdbcDriver" value="org.postgresql.Driver" />
         <property name="jdbcUsername" value="postgres />
         <property name="jdbcPassword" value="******" />
         <property name="jobExecutorActivate" value="true" />
         <property name="dbCycleUsed" value="true" />
         <property name="mailServerHost" value="smtp.test.com" />
         <property name="mailServerPort" value="25" />
         <property name="mailServerDefaultFrom" value="test@test.com" />
         <property name="mailServerUsername" value="test@test.com" />
         <property name="mailServerPassword" value="test" />
      </bean>
   </bean>


I can't send a mail and run as junit test.Thanks for help

Outcomes