-
1. Re: jbpm 6 and mysql
abhijithumbe Feb 26, 2015 6:27 AM (in response to chiri)Hi,
To configure jBPM 6 with mysql modify below files:
jbpm-console.war/WEB-INF/classes/META-INF/persistence.xml
jbpm-console.war/
WEB-INF/jboss-deployment-structure.xml
-
Use correct JNDI name of the datasource inside the
persistence.xml
file,<jta-data-source>java:jboss/datasources/MysqlDS</jta-data-source>
- Use appropriate Database specific Hibernate Dialect name
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect" />
- Add JBDC driver module dependency under
dependencies section in
jboss-deployment-structure.xml
...
<module name="jdbcDriverModuleName" />
...
</dependencies>Try with this approach..
-
2. Re: jbpm 6 and mysql
emygdio Mar 2, 2015 8:52 PM (in response to chiri)Hi kumargauravsahu?
How did you install and run the Jbpm? If you are using the ant tasks in the jbpm-installer, just try this documentation: Chapter 3. jBPM Installer
-
3. Re: jbpm 6 and mysql
chiri Mar 3, 2015 1:23 AM (in response to emygdio)I am planning to run jBPM in embeded mode without using any container either (app or web). I want to use mysql to save process info so that in case of system crash, we must be able to recover pending processes.
-
4. Re: jbpm 6 and mysql
emygdio Mar 3, 2015 5:14 AM (in response to chiri)Hi kumargauravsahu,
Did you see this part of the documentation: Chapter 8. Persistence and Transactions. That explains how you could use the persistence in the Jbpm. To use with mysql you have to configure a data source in your application server using a mysql divrer.