cancel
Showing results for 
Search instead for 
Did you mean: 

MailTask with own propertys

stefan1
Champ in-the-making
Champ in-the-making
hi.
i want to use the MailTask with own propertys as host,port, etc.
these i saved in the activiti.cfg.xml, but don't know where i have to deploy it, by using Activiti-Explorer?!

###### my activiti.cfg.xml ################################
<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/b … -beans.xsd">

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

<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" />
<property name="jdbcDriver" value="org.h2.Driver" />
<property name="jdbcUsername" value="sa" />
<property name="jdbcPassword" value="" />

<!– Database configurations –>
<property name="databaseSchemaUpdate" value="true" />

<!– job executor configurations –>
<property name="jobExecutorActivate" value="false" />

<!– mail server configurations –>
<property name="mailServerPort" value="xxx" />
<property name="mailServerHost" value="xxxx" />
<property name="mailServerUsername" value="xxxx" />
<property name="mailServerPassword" value="xxx" />
<property name="mailServerDefaultFrom" value="xxxx" />


<property name="history" value="full" />
</bean>

</beans>
###################################################

can anybody tell me where i have to copy that activiti.cfg.xml File?

Thanks in advance,
Stefan
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
For Activiti Explorer, the activiti.cfg.xml file lives in the WEB-INF/ folder