Updating maven dependencies refreshing maven model
org.activiti:activiti-engine:jar:6.x - org.activiti:activiti-bpmn-converter:jar:6.x:compile | \- org.activiti:activiti-bpmn-model:jar:6.x:compile | - com.fasterxml.jackson.core:jackson-core:jar:2.2.3:compile | \- com.fasterxml.jackson.core:jackson-databind:jar:2.2.3:compile | \- com.fasterxml.jackson.core:jackson-annotations:jar:2.2.3:compile - org.activiti:activiti-process-validation:jar:6.x:compile - org.activiti:activiti-image-generator:jar:6.x:compile - org.apache.commons:commons-email:jar:1.2:compile | - javax.mail:mail:jar:1.4.1:compile | \- javax.activation:activation:jar:1.1:compile - org.apache.commons:commons-lang3:jar:3.3.2:compile - org.mybatis:mybatis:jar:3.3.0:compile - org.springframework:spring-beans:jar:4.1.6.
RELEASE:compile | \- org.springframework:spring-core:jar:4.1.6. RELEASE:compile - joda-time:joda-time:jar:2.6:compile - org.slf4j:slf4j-api:jar:1.7.6:compile - org.slf4j:jcl-over-slf4j:jar:1.7.6:compile Playing around with the Activiti UI web application is a good way to get familiar with the Activiti concepts and functionality.
As said in the one minute demo setup, the Activiti UI app runs an in-memory H2 database by default.
To run the Activiti UI app with a standalone H2 or another database the activiti-app.properties in the WEB-INF/classes/META-INF/activiti-app of the Activiti UI web application should be changed.
The default context is copied from the Activiti war file when the application is first deployed, so if it already exists, you will need to replace it.
To change the JNDI resource so that the application connects to My SQL instead of H2, for example, change the file to the following: However, often only database administrators can execute DDL statements on a database.
We are simply leveraging the parsing and dependency injection capabilities of Spring internally for building up the engine. These classes represent different environments, and set defaults accordingly.
It’s a best practice to select the class the matches (the most) your environment, to minimalise the number of properties needed to configure the engine.
The SQL DDL statements can be found on the Activiti downloads page or inside the Activiti distribution folder, in the Note for My SQL users: My SQL version lower than 5.6.4 has no support for timestamps or dates with millisecond precision.The following snippet shows an example configuration.