AnsweredAssumed Answered

regarding mail server configuration and database configuration

Question asked by skverma02 on May 28, 2016
Latest reply on May 28, 2016 by skverma02
hello everyone ,

when i configure mail server in activiti-custom-context.xml file and database configuration in db.proprieties  then i am not able to access configure database.
In this case activiti run default database (h2 database ) and if   in this case check  mail server work properly.

activiti-custom-context.xml  mail server configuration

<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
<property name="mailServerHost" value="cp-47.webhostbox.net" />
<property name="mailServerPort" value="465" />
<property name="mailServerUseSSL" value="true" />
<property name="mailServerUseTLS" value="true" />
<property name="mailServerDefaultFrom" value="saurabh.varma@karexpert.com" />
<property name="mailServerUsername" value="saurabh.varma@karexpert.com" />
<property name="mailServerPassword" value="passward" />
</bean>

and db.properties configuration is

db=mysql
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/activiti
jdbc.username=root
jdbc.password=xyz

i want to access mail server with mysql database how i can use it plz help?

Outcomes