Objective
In this post we are going to install JBoss AS 7.1.1 and Drools 6.1 Workbench.
In subsequent posts we will create and deploy rules, decision tables, and workflows with human interaction.
Download JBoss AS 7.1.1
- Download JBoss AS 7.1.1.Final from here: http://jbossas.jboss.org/downloads/
- Unzip it into your destination folder
Start JBoss AS 7.1.1
JBoss AS 7.1.1 will not run on Java8, so you will need to set your path to your Java 1.7 installation.
Running on a Mac, Java installations are installed in /Library/Java/JavaVirtualMachines, so for myself to work with JBoss AS 7.1.1 I do the following:
- Open a cmd shell
- export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
- export PATH=$PATH:$JAVA_HOME/bin
- cd /Applications/Development/Servers/jboss-as-7.1.1.Final/bin
Add a JBoss Management User
- ./add-user.sh
- a – Management User
- ManagementRealm (default)
- username: admin
- password: any password
- yes

Start JBoss AS
- ./standalone.sh
Open a Browser

Deploy Drools Workbench

Download Drools Workbench
- Download Drools Workbench from here: http://www.drools.org/download/download.html
- This will download the file: kie-drools-wb-distribution-6.1.0.Final.zip
- unzip it
Install Drools Workbench
- Open the browser at: http://localhost:8080/
- Click on Administration Console
- login with the username/password you configured earlier

- Click Manage Deployments in the left panel
- Click Add Content in the Deployments pane

- Click Choose File
- Navigate to the kie-drools-wb-distribution-6.1.0.Final you downloaded
- Navigate to binaries
- select: kie-drools-wb-distribution-wars-6.1.0.Final-jboss-as7.0.war
- click Open
- click Next
- click Save

- Click Enable
- Click Confirm
With the Workbench enabled navigate to:
http://localhost:8080/kie-drools-wb-distribution-wars-6.1.0.Final-jboss-as7.0

Add a JBoss Application User
With the server still running
- open a cmd shell
- ./add-user.sh
- b – Application User
- ApplicationRealm (default)
- username: any username
- password: any password
- role: admin
- yes
Login to the Drools Workbench
Go back to the browser and login with the new Application user you have just created.

Close the What’s New window

Next
In subsequent posts we will create and deploy rules, decision tables, and workflows with human interaction.
Hi, good post. Can you please do a follow-up post on the following?–> In subsequent posts we will create and deploy rules, decision tables, and workflows with human interaction.
Don’t forget to mention to use OpenJDK as a JVM since Oracle’s JVM would cause you trouble
Thanks!! Good explaination đŸ™‚ You save my life