Wednesday 31 August 2016

Installing KIE workbench in Apache Tomcat 7 in Windows

KIE Drools Workbench

KIE workbench is the workflow engine where complex business process can be develop and executed. It also provide interface to create guided and DRL rules. The workbench can be linked through a Java application to use the created rule in our application.

Installing KIE workbench in Apache Tomcat 7 in Windows

  • Download the Kie workbench from http://download.jboss.org/drools/release/6.4.0.Final/kie-drools-wb-distribution-wars-X.X.X.Final-tomcat7.war. The X.X.X is version of the workbench. It must correspond to the version of Drools engine used.
  • The war file downloaded need to be deployed in the web-app folder of Apache tomcat.
  • Download and copy following jar files into TOMCAT_HOME/lib
    • btm-2.1.4.jar
    • btm-tomcat55-lifecycle-2.1.4.jar
    • h2-1.3.161.jar
    • jta-1.1.jar
    • slf4j-api-1.7.2.jar
    • slf4j-jdk14-1.7.2.jar
    • kie-tomcat-integration
    • JACC (javax.security.jacc:artifactId=javax.security.jacc-api in JBoss Maven Repository)
  • Create configuration files inside TOMCAT_HOME/conf
    • btm-config.properties
    • resources.properties
      The Path in above file need to be change to the actual system path.

  • Create setenv.sh (or setenv.bat) file inside TOMCAT_HOME/bin and add following:
  • Add valve configuration into TOMCAT_HOME/conf/server.xml inside Host element as last valve definition:
  • Edit TOMCAT_HOME/conf/tomcat-users.xml to include roles and users, make sure there will be 'analyst' or 'admin' roles defined as it's required to be authorized to use kie-wb
  • Start tomcat and open url http://127.0.0.1:8080/kie-drools-wb- distribution-wars-X.X.X.Final-tomcat7
  • No comments:

    Post a Comment