Database and mail configuration
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2014 10:01 AM
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
ostgresql://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
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

<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
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2014 04:19 AM
your xml has been swallowed. You need to put these between 'code' tags on this forum
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2014 04:52 AM
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="dataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="databaseSchemaUpdate" value="false" />
<property name="mailServerHost" value="smtp.gmail.com" />
<property name="mailServerPort" value="25" />
<property name="jobExecutorActivate" value="false" />
<property name="databaseType" value="postgres" />
<property name="jdbcUrl" value="jdbc
ostgresql://project:5432/activiti" />
<property name="jdbcDriver" value="org.postgresql.Driver" />
<property name="jdbcUsername" value="myusername" />
<property name="jdbcPassword" value="mypassword" />
<property name="databaseSchemaUpdate" value="false" />
</bean>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2014 06:33 AM
