Hi everyone, in this post I want to show you how to installing Red Hat JBoss BRMS 6.4.0 in your local PC. For your information BRMS is stand for Business Rule Management System, the complete explanation can be found on Wikipedia. Before installation is begin, below system pre-requisite :
1. Please ensure JDK 1.8 already installed in your PC.
2. Please ensure JBoss EAP 7.0.0 has downloaded.
3. Please ensure Maven already installed (maven installation can be found here).
4. Please ensure JBoss BRMS 6.4.0 has downloaded (you can download it from here, choose Deployable for EAP 7)
After all pre-requisite software has installed and downloaded we can start to install JBoss BRMS. The following step by step installation :
1. Extract your JBoss EAP 7.0.0 in particular directory
Let say C:\RESEARCH\jboss-eap-7.0, it so much better if you extract JBoss EAP not too far from root directory (C:), because Windows has limit path length which is 260 character.
2. Extract your JBOSS BRMS 6.4.0 in particular directory
Let say C:\RESEARCH\zip\jboss-eap-7.0, actually jboss-brms-6.4.0.GA-deployable-eap7.x.zip contains 3 directories which is bin, domain, and standalone. And what we are going to do is replacing standalone directory inside JBoss Eap 7.0.0 with this.
3. Create user to access BRMS
After extraction and replacement has done, let us open command prompt and point it to C:\RESEARCH\jboss-eap-7.0\bin directory. Please run this command :
add-user.bat -a –user brms –password password1! –role kie-server,admin,rest-all,analyst
Command above means we create an user with username is brms and password is password1! which have user role as kie-server, admin, rest-all, and analyst.
4. Modify standalone.xml
Go to C:\RESEARCH\zip\jboss-eap-7.0\standalone\configuration directory and edit standalone.xml with your favorite text editor. Find this part, un-comment it, and change username password with your user that you just created.
<!--Please uncomment the following properties to make KIE Server to be managed by Business Central Please also uncomment the default user and password which defined in standalone/configuration/application-roles.properties and application-users.properties--> <property name="org.kie.server.location" value="http://localhost:8080/kie-server/services/rest/server"/> <property name="org.kie.server.controller" value="http://localhost:8080/business-central/rest/controller"/> <property name="org.kie.server.controller.user" value="brms"/> <property name="org.kie.server.controller.pwd" value="password1!"/> <property name="org.kie.server.user" value="brms"/> <property name="org.kie.server.pwd" value="password1!"/> <property name="org.kie.server.id" value="default-kieserver"/>
5. Run Server
After finish run server using standalone.bat and go to http://localhost:8080/business-central, login using brms as username and password1! as password.
6. Test default kie-server
After you have successful logged in, please ensure that your default kie-server is working properly. Open new tab in your browser and go to http://localhost:8080/kie-server/services/rest/server. You have to provide BRMS username and password also.
Congratulations, your JBoss BRMS has successfully installed in your local PC. In the next chapter I will tell you how to create Model Object, Decision Table and so on.