cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti 5.9 and Tomcat already installed

castelnau1
Champ in-the-making
Champ in-the-making
Hi all,

I introduce myself, I'm French and I apologize for my bad English.
I am new user of Activiti, I use a distribution KUbuntu 10.04 with a LAMP server installed.
My server is Tomcat version 6.0.29 and is installed under / var/lib/tomcat6

I have a small technical issue regarding the installation of Activiti 5.9.

I can well launch Activiti Activiti from the directory, except that what bothers me is that it requires its own server Tomcat!
Besides the first launch, there is a download Tomcat …

What I want is to use my existing Tomcat instance.
I have an Apache / Tomcat for running Alfresco, vtiger, Phpmyadmin, and I want to kick you can use it to launch Activiti.

Problem I can not find the solution!
How to qu'Activiti his spear with my tomcat server 6.0.29

Do you have an idea on this?

I hope I was clear enough

Thank you for your help
5 REPLIES 5

trademak
Star Contributor
Star Contributor
Hi,

I don't really get your question.
You can run the Activiti Engine in every environment. It's even really easy to get it started in a unit test for example.
To get the Activiti Engine running on your own Tomcat instance, you can just copy the activiti-explorer.war for example.

Best regards,

castelnau1
Champ in-the-making
Champ in-the-making
Hello and thank you for your reply,

I stopped my Tomcat server and copied the directories:

- Activiti-explorer.war
- Activiti-rest.war

in my directory / var/lib/tomcat6/webapps.

I renamed the two directories:

- Activiti-explorer.war  in : Activiti-explorer
- Activiti rest.war in : Activiti-rest

I restart my Tomcat server but when I connect from my browser at:

http://localhost:8080/activiti-explorer/

I have the following message: HTTP Status 404 - requested resource is not available.

Have I missed a step?

greetings

mahmut
Champ in-the-making
Champ in-the-making
Hi,
I guess you get a 404 because startup of the applications fail. Activiti needs a connection to a database, so just have a look e.g. for activiti-explorer
to /activiti-explorer/WEB-INF/classes/db.properties and enter valid connection parameters.

Regards

castelnau1
Champ in-the-making
Champ in-the-making
Hello,

I succeeded in setting Activiti deploying Tomcat in my own instance.
The setup of the connection file to MYSQL database posaitn problem actually.

Thank you again for your help.

cordially

benkunz
Champ in-the-making
Champ in-the-making
Hi castelnau,
I'm having the exact same problem as you, except I dont use mysql but h2. Could you explain in details how you managed to deploy activiti explorer to your already existing install of tomact ?
Thanks