alfresco - How to set email and data configuration in activiti-explorer-5.22 -
i changed in activiti-custom-context.xml file , after changes not able send email users , have changed database properties after relaunch server ,my server not connected database ,which provided.
<class="org.springframework.jdbc.datasource.simpledriverdatasource"> <property name="driverclass" value="com.mysql.jdbc.driver" /> <property name="url" value="jdbc:mysql://localhost:3306/explorer" /> <property name="username" value="root" /> <property name="passw`enter code here`ord" value="root" /> </bean> --> <bean id="transactionmanager" class="org.springframework.jdbc.datasource.datasourcetransactionmanager"> <property name="datasource" ref="datasource" /> </bean> </property> <property name="mailserverusetls" value="true" /><!--this important if use gmail hoster --> <property name="mailserverhost" value="smtp.gmail.com" /> <property name="mailserverport" value="587" /> <property name="mailserverusername" value="my@host.com" /> <property name="mailserverpassword" value="hostpassword"/> </bean> <bean id="processengine" class="org.activiti.spring.processenginefactorybean"> <property name="processengineconfiguration" ref="processengineconfiguration" /> </bean> <bean id="repositoryservice" factory-bean="processengine" factory-method="getrepositoryservice" /> <bean id="runtimeservice" factory-bean="processengine" factory-method="getruntimeservice" /> <bean id="taskservice" factory-bean="processengine" factory-method="gettaskservice" /> <bean id="formservice" factory-bean="processengine" factory-method="getformservice" /> <bean id="historyservice" factory-bean="processengine" factory-method="gethistoryservice" /> <bean id="managementservice" factory-bean="processengine" factory-method="getmanagementservice" /> <bean id="identityservice" factory-bean="processengine" factory-method="getidentityservice" /> </beans>
Comments
Post a Comment