Time for action – installing the Activiti framework

We have already set up all the prerequisites on our system. Let us extract Activiti 5.13 onto one of our drives.

Time for action – installing the Activiti framework

To install the Activiti framework on the system, we will use Apache Tomcat; perform the following steps:

  1. Download the latest Apache Tomcat from http://tomcat.apache.org/download-70.cgi and extract it onto your local system.
  2. Copy activiti-explorer.war from the activiti-5.xwars folder and place it in the apache-tomcat-7.0.33webapps folder, as shown in the following screenshot:
    Time for action – installing the Activiti framework
  3. Now we will start the Apache Tomcat server so that the activiti-explorer.war file is deployed to the webapps folder.
  4. For the Windows operating system, browse to apache-tomcat-7.0.33in and double-click on startup.bat, as shown in the following screenshot:
    Time for action – installing the Activiti framework
  5. Now, the startup.bat file will start executing and deploying the Activiti Explorer on the system. During installation, it will set up the Activiti Engine, H2 database, default users, and much more. The result of this installation can be seen in the following screenshot:
    Time for action – installing the Activiti framework
  6. All the directories of the Activiti Explorer will be created on the apache-tomcat-7.0.33webappsactiviti-explorer path once the installation is completed.
  7. For the Linux operating system, we can use the command prompt to start Apache Tomcat.
  8. The location of the war file will be the same as that for the Windows operating system. To start Apache Tomcat, we need to browse to the ../apache-tomcat-7.0.33/bin path using the command prompt and execute the following command:
    sh catalina.sh run

    The result of executing the previous command is shown in the following screenshot:

    Time for action – installing the Activiti framework

Note

Activiti is installed; but, to verify whether or not the installation was done properly, open your favorite browser and type the localhost:8080/activiti-explorer URL container and press Enter. If you get the Activiti login screen, it means you have set up Activiti successfully. If you face any problems, make sure that Tomcat has started and also check whether or not Activiti-explorer.war is deployed successfully.

What just happened ?

We have successfully downloaded Activiti and installed it on our system. We also had a look at the prerequisites that should be available before installing Activiti.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset