cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying Activiti on JBoss

tinaki
Champ in-the-making
Champ in-the-making
Hello everyone,
I am trying to deploy Activiti on JBoss and can´t get it to work. I just need the Engine, i want to controll it through the API.
The activiti-explorer woulb be nice but is not so important.

I am not realy sure how to do it but here is what i have tried:
   - At the beginning i have run the demo skript.
   - I´ve deployed all the jars from ACTIVITI_HOME\setup\files\dependencies\libs. (I tried first just the ones listed in the libs.engine.runtime.txt file)
   - After that i have deployed the webapps from C:\Program Files\Java\activiti-5.2\setup\build\webapps.   

I haven´t realy done much with JBoss (maybe thats the Problem) but the server is running good with some test *.war files.

A step by step guide would be amazing but any help is much appreciated.

thanks a lot
Tinaki
4 REPLIES 4

jbarrez
Star Contributor
Star Contributor
People have been able to get Activiti running on JBoss. The search should help you there.

However, what do you mean with 'running Activiti on JBoss'. In your webapp? The demo setup? As a service bound to jndi?

tinaki
Champ in-the-making
Champ in-the-making
I want to run the Activiti Engine on JBoss and then i want to control it through an extern (not on JBoss) Programm or maybe even through an webapp (on JBoss).
I have managed to control the Engine if it is running by itself (demo.start).
    - i have started the demo skript
    - created a simple business process
    - and then i wrote a simple programm which can start, claim, continue, and finish my business process

Now i want the same just that i dont want to start Activiti through the demo skript, i want it to run on JBoss.

I already found some threads http://forums.activiti.org/en/viewtopic.php?f=6&t=700&start=0
There is explained that i should deploy the jars from ACTIVITI_HOME\setup\files\dependencies\ (i used libs.engine.runtime.txt)
So I tried my programm but it is not working.

Do i have to deploy tomcat and h2 too?

jbarrez
Star Contributor
Star Contributor
If you want run the webapps on JBoss, you basically have to copy the webapps to the /deploy folder in JBoss.

People have done this in the past with success: http://forums.activiti.org/en/viewtopic.php?f=4&t=175&hilit=jboss
You will still need the h2 database if you don't change the default configuration.
Tomcat is obviously not needed.

fmarchioni
Champ in-the-making
Champ in-the-making
A bit late in replying (sorry :-)) however I've added time ago an Activiti tutorial which was tested against JBoss 5.1 and JBoss 6.0.
Hope it helps,
regards
Francesco Marchioni