cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti on Ubuntu Server 10.04 install guide

activist
Champ in-the-making
Champ in-the-making
Hi All,

May i know where can i find the step by step guidance in deploying Activiti please ?

I have setup the Ubuntu server with Ant, Java and Tomcat 6 but so far got no clue where to do next ?

I've read the .properties file and seems that nothing that i should touch.

Any kind of help would be greatly appreciated.

Thanks.
41 REPLIES 41

winko
Champ in-the-making
Champ in-the-making
Did a lot of searching and reading last night, will give the installation a try tonight!

Regards,

Winko

markushbm
Champ in-the-making
Champ in-the-making
I installed activiti in an ubuntu vm and access it via network. It works fine until the user on the activiti server logs off –> i just get a white/blank page in my browser no matter which site (activiti-* or tomcat index) was selected. After reconnecting to the server via ssh it works again.

Does anyone have the same problem? It seems to be connected with tomcat. It starts with
INFO: Undeploying context []
Nov 26, 2010 2:56:25 AM org.apache.catalina.session.StandardManager doUnload
SEVERE: IOException while saving persisted sessions: java.io.FileNotFoundException: /home/actuser/activiti-5.0.rc1/apps/apache-tomcat-6.0.29/work/Catalina/localhost/_/SESSIONS.ser (No such file or directory)
java.io.FileNotFoundException: /home/actuser/activiti-5.0.rc1/apps/apache-tomcat-6.0.29/work/Catalina/localhost/_/SESSIONS.ser (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:99)
Could it be something with PATH variables?

activist
Champ in-the-making
Champ in-the-making
markus, please edit your init.d file /etc/rc.d/init.d to start the server process.

source:http://www.yolinux.com/TUTORIALS/LinuxTutorialInitProcess.html

let me know if this is working for you.

markushbm
Champ in-the-making
Champ in-the-making
I edited my original post and will give it a try tomorrow. However, thanks for your answer. Doesn't tomcat run with root privileges if starting on init?

activist
Champ in-the-making
Champ in-the-making
markus, I'm also newbie in this area,but I foundthis article http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F hope that helps.

winko
Champ in-the-making
Champ in-the-making
Hi there,

This installation procedure is based on Ubuntu 10.04 LTS and Activiti 5.0 RC1 using the terminal.
Things to do:
- make sure everything keeps working after a reboot (partially fixed)
- make screen shots (anyone got a nice desktop "theme"?)
- write a script

Regards,

Winko

Install JDK, JRE, Ant and Eclipse at once as you can combine the separate installations, open a terminal window:
# 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-1.6.0.22

Download Activiti
# mkdir Activiti
# cd Activiti
# wget http://activiti.org/downloads/activiti-5.0.rc1.zip
# unzip activiti-5.0.rc1.zip

Install Demo
# cd setup
# ant demo.setup

Open your browser and go to the following URL:
http://localhost:8080/activiti-explorer/
You can login using users:
kermit (pw: kermit)
fozzie (pw: fozzie)
gonzo (pw: gonzo)

Or check out the cool Signavio "Activiti Modeler" at the following URL:
http://localhost:8080/activiti-modeler/

Other useful links:
http://localhost:8080/activiti-probe/
http://localhost:8080/activiti-cycle/


Allright I've found a solution for rebooting 🙂
After rebooting / powering off your machine, open a terminal window to start the database and web server:
# cd Activiti/setup/
# ant h2.start
# cd ../..
# cd Activiti/apps/apache-tomcat-6.0.29/bin
# ./startup.sh

After these commands everything should be up and running again 🙂

markushbm
Champ in-the-making
Champ in-the-making
What about a server installation?

activist
Champ in-the-making
Champ in-the-making
that's more like it man 🙂
thanks Winko !!!

winko
Champ in-the-making
Champ in-the-making
Thanks and you´re welcome !!!

Regards,

Winko

activist
Champ in-the-making
Champ in-the-making
Hi there,

This installation procedure is based on Ubuntu 10.04 LTS using the terminal.
Things to todo:
- make sure everything keeps working after a reboot
- make screenshots
- write a script

Regards,

Winko


Installing JDK
# 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

Installing ANT
# sudo apt-get install ant

Installing Eclipse
# sudo apt-get install eclipse

OR install JDK, JRE, Ant and Eclipse at once as you can combine the separate installations:
# 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

Download Activiti
# mkdir Activiti
# cd Activiti
# wget http://activiti.org/downloads/activiti-5.0.rc1.zip
# unzip activiti-5.0.rc1.zip

Install Demo
# cd setup
# ant demo.setup

Open your browser and go to the following URL:
http://localhost:8080/activiti-explorer/
You can login using users:
kermit (pw: kermit)
fozzie (pw: fozzie)

Or check out the cool Signavio "Activiti Modeler" at the following URL:
http://localhost:8080/activiti-modeler/

DON´T RESTART - REBOOT YOUR MACHINE !!! (See the todo list)

Can someone make this thread as sticky please or documented in the front page since it has been tested and working 🙂