cancel
Showing results for 
Search instead for 
Did you mean: 

Installing Activiti

wasca
Champ in-the-making
Champ in-the-making
Can this program be installed on a server that is already running Alfresco in a Tomcat setup?

I just ran through the install process as outlined here http://activiti.org/userguide/index.html#10minutetutorial but I cant get to http://myserver:8080/activiti-modeler

I already have Alfresco running at http://myserver:8080/alfresco using tomcat 6.0.26

When I installed Activiti I had to amend the build.properties file to set the tomcat version to 6.0.32 as the default 6.0.29 version was not available when the installer was trying to download the tomcat install

This is very frustrating for someone who is trying to evaluate this software and you cant even get it installed.

Could someone please help me get this installed and running.

Thanks
8 REPLIES 8

lars_b
Champ in-the-making
Champ in-the-making
When I installed Activiti I had to amend the build.properties file to set the tomcat version to 6.0.32 as the default 6.0.29 version was not available when the installer was trying to download the tomcat install

As far as i know they will release a new Version of Activiti (5.3) today where this bug is fixed.

frederikherema1
Star Contributor
Star Contributor
The tomcat 6.0.29 that is unavailable was an issue that came up a week ago, when 5.2 was already released (apache mirror no longer hosting this version). The easiest way to get the webapps installed on a running tomcat is just to copy the webapps you need from the demo-setup to the tomcat. The most important one is the activiti-rest (is used by explorer, probe and cycle). The activiti-rest also contains the configuration (activiti.cfg.xml in /WEB-INF/lib/activiti.cfg.jar.

The tomcat-issue is fixed in the 5.3 release, which should be released today. Do you get an error when opening the modeler?

wasca
Champ in-the-making
Champ in-the-making
The tomcat 6.0.29 that is unavailable was an issue that came up a week ago, when 5.2 was already released (apache mirror no longer hosting this version). The easiest way to get the webapps installed on a running tomcat is just to copy the webapps you need from the demo-setup to the tomcat. The most important one is the activiti-rest (is used by explorer, probe and cycle). The activiti-rest also contains the configuration (activiti.cfg.xml in /WEB-INF/lib/activiti.cfg.jar.

The tomcat-issue is fixed in the 5.3 release, which should be released today. Do you get an error when opening the modeler?

Hi Frederikheremans

Can you confirm that I have copied the correct files into the correct locations and that I have not missed any. Below is what i have done.

COPIED

/opt/activiti/activiti-5.2/apps/apache-tomcat-6.0.32/webapps/activiti-cycle
to
/opt/alfresco/tomcat/webapps/activiti-cycle

/opt/activiti/activiti-5.2/apps/apache-tomcat-6.0.32/webapps/activiti-explorer
to
/opt/alfresco/tomcat/webapps/activiti-explorer

/opt/activiti/activiti-5.2/apps/apache-tomcat-6.0.32/webapps/activiti-kickstart
to
/opt/alfresco/tomcat/webapps/activiti-kickstart

/opt/activiti/activiti-5.2/apps/apache-tomcat-6.0.32/webapps/activiti-modeler
to
/opt/alfresco/tomcat/webapps/activiti-modeler

/opt/activiti/activiti-5.2/apps/apache-tomcat-6.0.32/webapps/activiti-probe
to
/opt/alfresco/tomcat/webapps/activiti-probe

/opt/activiti/activiti-5.2/apps/apache-tomcat-6.0.32/webapps/activiti-rest
to
/opt/alfresco/tomcat/webapps/activiti-rest

/opt/activiti/activiti-5.2/apps/apache-tomcat-6.0.32/webapps/activiti-modeler.war
to
/opt/alfresco/tomcat/webapps/activiti-modeler.war

I then restarted my alfresco install (/etc/init.d/alfresco restart)

I can now get those locations in a browser (http://myserver:8080/activiti-modeler) for example.

What about the h2 database? Were there any other files I hade to copy over?

I also noticed that when I try to create a new model in modeler I get redirected to http://localhost:8080/activiti-modeler/p/editor?id=27cb4e7e59c84fb8baadba5e0860900c.
Why is it redirecting me to localhost and not myserver? is there a configuration file I need to change?

Thanks

Wasca

frederikherema1
Star Contributor
Star Contributor
The h2-libs are located in the activiti-rest webapp, so these come over automatically. You should make sure the h2 database is started when using the activiti apps.

About modeler configuration:
http://forums.activiti.org/en/viewtopic.php?f=7&t=690&p=2862&hilit=modeler+hostname#p2862

You should also alter the other webapp's configuration:
http://forums.activiti.org/en/viewtopic.php?f=6&t=1005&p=4086&hilit=modeler+hostname#p4086

jyri_ahia
Champ in-the-making
Champ in-the-making
Hello,

I have installed Activiti with Alfreco and have also used the Eclipse designer.

I have copied the WAR:s Acitviti-explorer (works) activiti-modeller (does not work) and Activiti-rest (I quess is not supposed to show up in the browser like the others (/activiti-explorer/) in the /tomcat/webapps/ directory and restarted alfresco.

Where can I get the other WARs? Like Kickstart? And what configuration is needed for the modeller to get working?

I do use a differect port 9090 on the Alfresco but activiti-explorer works with that.

I am reading the book Activiti in Action. So would like to go further on the matter.

JYri

jyri_ahia
Champ in-the-making
Champ in-the-making
Also how do I get to the Workflow console Smiley Happy I have the ecmarchitect.com tutorial but I think it's outdatet a bit.

jyri_ahia
Champ in-the-making
Champ in-the-making
Ok actually it's here after login as admin (as said in the document) http://<your ip/domain>:<port>/alfresco/faces/jsp/admin/workflow-console.jsp

jbarrez
Star Contributor
Star Contributor
That is the 'old' workflow console. Explorer is shipped with Alfresco Enterprise.
Just dropping the wars into Alfresco won't work Im afraid.