Activiti, BPM

Start Up Activiti 6.0 In Localhost – Quick Start

Although we already have the Activiti Cloud, Activiti 6.0 is still not that old. We can still use Activiti 6.0 in localhost for learning purposes. However, we should consider migrating to Activiti Cloud for real projects. This post will help those new to BPM and Activiti set up Activiti 6.0 locally for testing and learning purposes. Most of what we learn from playing around with Activiti 6.0 is still valid when we transition to Activiti Cloud.

Requirements For Activiti To Run in Localhost

We used the following for this post.

Prepare The Local Environment For Activiti 6.0

Since we are using non-installer versions of Apache Tomcat and OpenJDK8, we need to use paths and environment variables. First, unzip the zip files. Next, open a command-line window and change the current directory to <TOMCAT_HOME>/bin directory. Then, use the following commands.

Before running the commands, replace the paths accordingly. Consider the following example.

Next, start up Tomcat using the startup.bat command and access http://localhost:8080 using a web browser.

Download Activiti and copy war Files

Next, download Activiti 6.0 and extract its content to some directory. The content has the following directory structure.

Under the wars directory, we have the following war files.

Copy these files Activiti 6.0 war files to <TOMCAT_HOME>/webapps and start Tomcat up in localhost if it is not yet running.

Sign In To Activiti Applications

In the previous section, we copied three wars files. These war files are web applications within Tomcat.

Activiti 6.0 in localhost

user admin/test for http://localhost:8080/activiti-app

 

Activiti 6.0 in localhost

Use admin/admin for http://localhost:8080/activiti-admin

 

Activiti 6.0 in localhost

RESTful web service – http://localhost:8080/activiti-rest

From here on, we can play around with Activiti 6.0 in localhost.

Java 11 and Tomcat 9+ with Activiti 6.0

Activiti 6.0 will not work with Java 11 (and later versions) and Tomcat 9 (and later versions).

Loading

Got comments or suggestions? We disabled the comments on this site to fight off spammers, but you can still contact us via our Facebook page!.