PDF Print E-mail
Running Activiti 5.3 on Ubuntu 10.04 LTS


This is an update for the Activiti 5.3 release!!! Activiti 5.3 was updated after a month of hard labour by the development team of activiti.org after just releasing Activiti 5.2 last month, they've pulled off a very good job again!!! What is Activiti??? Activiti is THE light-weight work-flow and Business Process Management platform targeted at business people, developers and sysadmins. In this "How to" I'll try to explain how to install the Activiti 5.3 BPM tool demo on Ubuntu 10.04 LTS using the terminal. Previous installations of Activiti are described here 1,2,3.

Before you begin make sure your Ubuntu installation is up to date!!!

Install JDK, JRE, Ant and Eclipse at once as you can combine the separate installations, open a terminal window (Applications \ Accessories \ Terminal):
# sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" && sudo apt-get update
# sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin sun-java6-fonts ant eclipse
# export JAVA_HOME=/usr/lib/jvm/java-6-sun-

Download Activiti
# wget http://activiti.org/downloads/activiti-5.3.zip
# unzip activiti-5.3.zip

Install the Demo
# cd activiti-5.3/setup
# ant demo.start


Open your browser and go to the following URL's:

The Activiti Explorer is the web based application that provides access for all users of the system to manage task lists and execute process tasks.


The Activiti Probe is the web based application that offers admin and monitoring capabilities to keep Activiti Engine up and running.


The Activiti Modeler is the web based BPMN 2.0 process modeling tool for business analysts.


The Activiti Cycle is the web based application that enables collaboration between business users, developers and IT operational people.


The Activiti KickStart is a web based component that makes building process solutions as easy as can be for non technical people.


The Activiti Administrator is a new web based component that enables you to do some basic user administration.


If needed you can login using the following users:
kermit (pw: kermit)
fozzie (pw: fozzie)
gonzo (pw: gonzo)

Make Activiti start automatically after a reboot or shutdown...
# sudo gedit /etc/init.d/activiti

Next copy the the next lines of code in the new file and save it
--- Start copying the lines of code below ---
#! /bin/sh


case "$1" in
echo "Starting Activiti from $ACTIVITIPATH"
cd /home/activiti/activiti-5.3/setup && ant h2.start tomcat.start

$0 stop
$0 start
echo "Stoping Activiti from $ACTIVITIPATH"
cd /home/activiti/activiti-5.3/setup && ant h2.stop tomcat.stop
echo $"usage: $0 {start|stop|restart}"
exit 3
--- Stop copying the lines of code above ---

Now we'll make the init script executable
# sudo chmod a+x /etc/init.d/activiti

You can test the script by stopping and starting the server:
# sudo /etc/init.d/activiti stop
# sudo /etc/init.d/activiti start

And finally we'll make the script start at boot time
# sudo update-rc.d activiti defaults 90 10

Ready for happily using Actviti
# exit

Enjoy your Activiti 5.3 installation on Ubuntu 10.04 LTS !!!


Suggestions for improving this article are welcome!

Please let me know and This e-mail address is being protected from spambots. You need JavaScript enabled to view it .


Sponsored Links