Activiti Installation and Configuration
Activiti Installation and Configuration
ACT_RU_*: 'RE' stands for runtime. These are the runtime tables, that contain the
runtime data of process instances, user tasks, variables, jobs, etc. Activiti only stores the
runtime data during process instance execution, and removes the records when a
process instance ends. This keeps the runtime tables small and fast.
ACT_ID_*: 'ID' stands for identity. These tables contain identity information, suchas
users, groups, etc.
ACT_HI_*: 'HI' stands for history. These are the tables that contain historic data, such as
past process instances, variables, tasks, etc.
Build.propertieschange db to mysql.
Build.mysql.propertieschange jdbc.driver=com.mysql.jdbc.Driver,
jdbc.url=jdbc:mysql://localhost:3306/activiti, jdbc.username=root,
jdbc.password=root.
Edit D:\activiti-5.4\apps\apache-tomcat-6.0.32\webapps\activiti-administrator\WEB-
INF\ applicationContext.xml with following
Edit D:\activiti-5.4\apps\apache-tomcat-6.0.32\webapps\activiti-
administrator\META-INF\maven\org.activiti\activiti-webapp-
administrator\pom.xml with following.
<dependency>
<groupId>com.mysqldatabase</groupId>
<artifactId>mysql</artifactId>
</dependency>
(Bug fix: javax.servlet.ServletException:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'adminApp': Injection of autowired dependencies failed;
nested exception is
org.springframework.beans.factory.BeanCreationException: Could not
autowire field: org.activiti.administrator.service.AuthenticationService:
Administrator)
Copy and paste D:\activiti-5.4\setup\build\activiti-cfg\activiti-cfg.jar to
D:\activiti-5.4\apps\apache-tomcat-6.0.32\webapps\activiti-kickstart\WEB-
INF\lib and D:\activiti-5.4\apps\apache-tomcat-6.0.32\webapps\activiti-
administrator\WEB-INF\lib