cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Activiti in existing tomcat environment

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

I have an ubuntu server 10.10 und an existing apache2 and tomcat installation. Now I would like to install activiti in the Tomcat container. For that I would like to use a mysql database. I created the database 'activiti' with the user 'activiti'. Now I configure the build files as in the attachment. I changed the default database to mysql and typed in the location of the tomcat directory. Further I changed the default ant target 'demo.setup' and deleted the targets for h2 and tomcat installation. The installation went fine, but I can't access any activiti app wether cycle, probe, nor modeler etc.

I'm a noob to linux, apache and so on, sorry for that - please help! Smiley Wink

kind regards
ben
11 REPLIES 11

jbarrez
Star Contributor
Star Contributor
Is your Tomcat running? (ie can you access http:localhost:8080 ?)

Can you post the logs of your tomcat. You can find them under /tomcat/logs/

buetti
Champ in-the-making
Champ in-the-making
hi,

I attached the log files. And "Yes" my tomcat is running..Smiley Wink

jbarrez
Star Contributor
Star Contributor
And "Yes" my tomcat is running…

Just had to be sure 😉

It looks like there is nothing installed from the Activiti webapps. Are there actually Activiti webapplications installed under /webapps ?

buetti
Champ in-the-making
Champ in-the-making
I think so. Under the webapps-Folder I can see all activiti packages…

jbarrez
Star Contributor
Star Contributor
Is something installed in your MySQL database? If yes, then we at least know that the script has run successfully …

buetti
Champ in-the-making
Champ in-the-making
Yes, the tables were all succesfully created!

jbarrez
Star Contributor
Star Contributor
Ok, now thats really odd .. so you have

- database is created
- wars are deployed

but nothing boots up … I'm kinda out of ideas here Smiley Tongue

buetti
Champ in-the-making
Champ in-the-making
I didn't get it: All installation routines went fine, but I can't call activiti-probe, cycle etc.. Is it really so hard to install activiti in an existing tomcat environment? It is a very fresh ubuntu installation.

I would like to get it working. I attached the installation log file, maybe you see something, which I do not?!

Many thanks
Ben

jbarrez
Star Contributor
Star Contributor
Indeed, the installation seems to go just fine:
[unzip] Expanding: /etc/activiti/setup/build/activiti-explorer.war into /etc/tomcat6/webapps/activiti-explorer
I'm using a plain Ubuntu VM each time to test new releases, so I'm quite assured it works on a plain Ubuntu with a JDK and ant installed on it.

The only thing I can think of now, looking at your Tomcat logs, is that you are starting the wrong Tomcat instance.
How are you starting Tomcat? Where is it installed?