Hello everyone,
Please if anyone can help me to setup a MySql database in Activiti to be able to use the data models
The existing tutorial is not helping me.
Thank you
Solved! Go to Solution.
You can create a bean in your activiti.cfg.xml like below
<?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/beans/spring-beans.xsd">
<bean id="processEngineConfiguration"
class="org.activiti.cdi.CdiStandaloneProcessEngineConfiguration">
<property name="dataSourceJndiName" value="java:jboss/datasources/<name of your datasource>" />
<property name="jobExecutorActivate" value="false" />
<property name="history" value="audit" />
<property name="databaseSchemaUpdate" value="true"></property>
</bean>
</beans>
You can create a bean in your activiti.cfg.xml like below
<?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/beans/spring-beans.xsd">
<bean id="processEngineConfiguration"
class="org.activiti.cdi.CdiStandaloneProcessEngineConfiguration">
<property name="dataSourceJndiName" value="java:jboss/datasources/<name of your datasource>" />
<property name="jobExecutorActivate" value="false" />
<property name="history" value="audit" />
<property name="databaseSchemaUpdate" value="true"></property>
</bean>
</beans>
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.