Deploy on Windows


Download and deploy a 64bit version of python 3.5. I used python-3.5.3-amd64.exe.

To try and solve the issues running python services (see Celery and Stalled), I asked the installer to do the following:

  1. Installed python for all users

  2. Added python to the PATH.

In the end, I think the issue was solved by installing as a global package, so perhaps we don’t need to add python to the PATH or for all users?



The steps taken to intall Activiti on our 1&1 Windows server


create role       activiti
password          yourDbPassword

create database
owner             activiti
template          template0

Download the JDK from (selected 8u92)

Click install Next > ; Next > ; Next >; Close

Note the installation directory for use in the next step

Download Tomcat from

Choose 32-bit/64-bit Windows Service installer and run Click Next ; I Agree ; Next >;

Then on Configuration Options dialog change Http/1.1 Connector port: 8080 (default but may have to change)

Tomcat Administrator Username  admin
Password                       yourTomcatPassword

On Java Virtual Machine path Select, ensure the following is selected:

C:\Program Files\Java\jre1.8.0_92

Accept the default installation directory and click install and then close (leaving Run Tomcat selected)

In Control Panel | Administrative tools | Services click on Apache Tomcat 8.0 Tomcat8 and choose startup type Automatic and press OK.

Download the Postgresql JDBC jar from and place it in:

C:\Program Files\Apache Software Foundation\Tomcat 8.0\lib

Download from

Using file explorer browse to:


and copy the activiti-rest.war file to:

C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps

Tomcat will automatically extract the webapp.

After about a minute you should be able to type: http://localhost:8080/activiti-rest/service/repository/deployments/ and see a json dataset containing the currently deployments.

Configure activiti rest to use postgresql as follows:

Alter the:

C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\activiti-rest\WEB-INF\classes\

as follows:


Restart Tomcat using the services menu.


To install the Celery services, start by installing python (see python):

cd C:\inetpub\wwwroot\your-app-folder\
python install
python install


For troubleshooting see, Stalled


Use our offline module at


Upload File Size and Timeout Issues

In IIS if there are problems with Timeouts, etc, Open IIS then:


  1. Locate the root node for the server (parent of Sites).

  2. Find FastCGI settings

  3. Locate the setting for the website with the issue. There should be a FastCGI settings for each of your Django sites on Initialise

  4. Click to Edit:(secs):

    Activity Timeout: 3600
    Idle Timeout: 3600
    Request Timeout: 3600


  1. Locate the root node for the Site

  2. Advanced Settings:

    Connection Timeout (secs): 12000
    Failed Requests Tracing -->
      Directory: %SystemDrive%\inetpub\logs\FailedReqLogFiles
      Enabled: True
  3. Locate the Request Filtering icon:

    Maximum Allowed Content length: 3147483648
  4. Add to web.config:

            <requestLimits maxAllowedContentLength="3147483648">


  1. Locate the App pool for your Site

  2. Advanced Settings:

    Ping Maximum Response Time: 360


Use our offline module at