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
i dont know what is the problem . But when i crate a new databse in mysql and restart activiti its work fine with new database but again restart activiti, its not use old database ?
may be problem is solved actually i am use <property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activiti123" /> <property name="jdbcDriver" value="com.mysql.jdbc.Driver" /> <property name="jdbcUsername" value="root" /> <property name="jdbcPassword" value="root" /> <!– Database configurations –> <property name="databaseSchemaUpdate" value="drop-create" />
when i chage this
<property name="databaseSchemaUpdate" value="true" /> its work properly..