9 Replies Latest reply on Oct 17, 2014 4:40 PM by Petr Široký

    Looking for Info With Using JBoss-BRMS and Guvnor

    Kyle Smith Newbie

      Hello all,

       

      I downloaded jboss-brms-installer-6.0.2.GA-redhat-5 from jboss.org and installed the software. This puts a jboss-eap-6.1 folder in my installation directory. I found a great amount of documentation on using this with the Quick Start guide but did not see any mention of Guvnor. Does anyone know where I can find up to date information on using Guvnor?

       

      I found numerous web-pages describing obsolete ways to use Guvnor. Such as:

       

      The manual, Guvnor Manual, does not appear to be that helpful as it does not even describe the details required to install and use Guvnor on the current version of the JBoss BRMS. All of the screenshots are from a previous version as well.

       

      Thank-you very much for reading this.

       

      Respectfully,

       

      Kyle

        • 1. Re: Looking for Info With Using JBoss-BRMS and Guvnor
          Petr Široký Newbie

          Hello Kyle,

           

          the web UI (known as Guvnor, in 5.x) has been completely rewritten and in 6.x it is called KIE (Drools) Workbench. You can find more info for example in community docs: Part V. Drools Workbench

          Using the installer, the Workbench should be ready to use when you start the EAP (after the installation). Just go to http://localhost:8080/business-central (you need to have some users setup, of course).

           

          Petr

          1 of 1 people found this helpful
          • 2. Re: Looking for Info With Using JBoss-BRMS and Guvnor
            Kyle Smith Newbie

            Hi Petr,

             

            Thank-you for the helpful reply. It seems like this tutorial, Part V. Drools Workbench, begins in the middle of another tutorial. For instance the DRL file in step x, shown in Figure 15.15, references a field that must of been created in a previous tutorial.

             

            Do you know of any other tutorials? Preferably ones that do not depend on previous tutorials and are easy introductions to Guvnor for a beginner?

             

            Respectfully,

             

            Kyle

            • 3. Re: Looking for Info With Using JBoss-BRMS and Guvnor
              Petr Široký Newbie

              Hello Kyle,

               

              the documentation is primarily meant as on overview of the Workbench features and it can't be considered as a tutorial. If you are looking for basic introduction into how to use Workbench/BRMS you can take a look at awesome posts by Eric Schabell http://www.schabell.org/.

               

              Several videos are also available at project pages http://drools.org/learn/video.html.

               

              Petr

              • 4. Re: Looking for Info With Using JBoss-BRMS and Guvnor
                Kyle Smith Newbie

                Petr,

                 

                Thank-you again for the helpful reply. I am looking at the following tutorial, https://github.com/eschabell/brms-coolstore-demo  , after reading this post on Eric Schabell's website: http://www.schabell.org/p/jboss-brms-starter-kit.html

                 

                The problem is that after downloading the example and changing the init.bat script to reference the jboss-brms-installer-6.0.2.GA-redhat-5.jar from this website and moving that jar into the installs directory the JBoss BRMS starts up.  The problems is when I deploy the project and go to http://localhost:8080/brms-coolstore-demo I receive a 404 error.    I see data relating to the shopping cart application for instance. It looks like everything works accept that the website is not actually deployed or deployed at that location or something.

                 

                This tutorial makes reference to the more proprietary red hat website: https://access.redhat.com and to versions of software that are already obsolete. Do you are anyone else reading this have any recommendations for getting this tutorial to work? It appears to work but then going to the URL on the localhost results in a 404.

                 

                I hope this made sense. I should probably start a question on how to run this tutorial as it has many factors to consider.

                 

                Finally, this tutorial is bad if one does not have a Red Hat subscription as downloading or even creating an account on access.redhat.com requires some type of software license which I do not have.

                 

                Respectfully,

                 

                Kyle

                • 5. Re: Looking for Info With Using JBoss-BRMS and Guvnor
                  Petr Široký Newbie

                  Hello Kyle,

                   

                  sorry for the longer delay.

                   

                  Are there any exceptions/errors in the log? Could you attach the log? If you say "it just returns 404" it is basically impossible to say where the problem is. When reporting errors/asking for help, you it always great to include as much information as possible (even if you think it might not be useful, it sometimes is).


                  Thanks,

                  Petr

                   

                  • 6. Re: Looking for Info With Using JBoss-BRMS and Guvnor
                    Kyle Smith Newbie

                    Hello Kyle,

                     

                    the documentation is primarily meant as on overview of the Workbench features and it can't be considered as a tutorial. If you are looking for basic introduction into how to use Workbench/BRMS you can take a look at awesome posts by Eric Schabell http://www.schabell.org/.

                     

                    Several videos are also available at project pages http://drools.org/learn/video.html.

                     

                    Petr

                     

                     

                     

                    Hi Petr,

                     

                    Thank-you again for the helpful reply. It looks like most of Eric Schabell's tutorials are made for the more proprietary access.redhat subscription members. Can you explain which part of the free jboss BRMS web-interface is Guvnor? I am racking my brain looking for information on how to use Guvnor. I keep finding all of this confusing information. I am not sure a) where exactly Guvnor is in the JBoss BRMS, b) when I am using Guvnor in a BRMS application, or c) where to find up to date relevant information on Guvnor.

                     

                    Also, this would be very helpful if you or someone else could explain where Guvnor is in the following simple BRMS tutorials from this website, jboss.org:

                    1. http://www.jboss.org//quickstarts/brms/helloworld-drl/index.html
                    2. http://www.jboss.org//quickstarts/brms/helloworld-brms/index.html

                     

                    Thank-you for the previous help Petr. I sincerely appreciate it.

                     

                    Respectfully,

                     

                    Petr

                    • 7. Re: Looking for Info With Using JBoss-BRMS and Guvnor
                      Petr Široký Newbie

                      Hello Kyle,

                       

                      Eric Schabell's tutorials are indeed made for the product version. However, the BRMS 6.0.2 download you have is exactly what is on the access.redhat.com. So most of the tutorials should work for you. I found some difficulties with some examples which I will investigate.

                       

                       

                      >>>>>> Can you explain which part of the free jboss BRMS web-interface is Guvnor

                      Guvnor no longer exists in BRMS 6.x. The application for rule authoring and management is now called Business Central (and KIE Drools Workbench in community, but that is not important) and you can, by default, access it at http://localhost:8080/business-central. Before starting the server you also need to add at least one user into the EAP, so you can actually login into the application. Go to jboss-eap-6.1/bin and run ./add-user.sh (or similar on windows), pick username of your choice and use the role "admin" (user with this role has all the permissions, so it is the best one to test/experiment with) for the user.

                       

                      The Business Central (formerly Guvnor) is a web application you typically use to author (create) and store you assets (rules, decision tables, etc). You can create organization units, create repositories to store the assets, then create projects. Each project typically consists of several assets like DRL files or ruleflow processes. Once the asset authoring is done you can build and deploy the project (this creates the Knowledge Jar - kjar) and then deploy it into Drools runtime (in 6.0 you need to do that using your own glue code, see the Drools examples on how to do that).

                       

                      >>>>>> Also, this would be very helpful if you or someone else could explain where Guvnor is in the following simple BRMS tutorials from this website, jboss.org:

                      1. http://www.jboss.org//quickstarts/brms/helloworld-drl/index.html
                      2. http://www.jboss.org//quickstarts/brms/helloworld-brms/index.html

                      The first example does not use the Business Central (aka Guvnor) at all. The second one uses it and it should be clear from description how to import he repository and build the project. If it is not, please let us know so we can fix it.

                       

                      You can also look at the Getting Started Guide in product documentation (it should be available even without the subscription) https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BRMS/6.0/html/Getting_Started_Guide/. Chapter 4 (logging into business central) and Chapter 5 (simple example) should be helpful.


                      Thanks,

                      Petr

                      • 8. Re: Looking for Info With Using JBoss-BRMS and Guvnor
                        Kyle Smith Newbie

                        Hello Petr,

                         

                        Thank-you, Thank-you X 10 for the helpful and timely reply to my questions. This helps me understand a lot of what I need to grasp.

                         

                        Also, if I want to use and/or lean about Guvnor in more depth is there a way I can install Guvnor on its own or is Guvnor now the 'business central' web application? I was thinking that since I asked the question above on a JBoss BRMS forum that I may of obtained a more JBMS focused answer. However, it does show that Guvnor technology is indeed included in the JBoss BRMS application as can be seen from this page: http://www.jboss.org/products/brms/community/ So, is there a more pure form of Guvnor available I guess is my question in this paragraph.

                         

                        >>>>>> please let us know so we can fix it

                        I did have some problems with both tutorials, but I was able to resolve them and get them working. I found that I could run the examples after modifying the pom.xml file. I had to change this line to a newer version: <version>6.0.2.GA-redhat-5</version>. Before it was trying to download a dependency that was of a version that is not on the corresponding website from the settings.xml file that this pom.xml file calls. That website from settings.xml is: http://maven.repository.redhat.com/techpreview/all The pom.xml file that comes with the quickstarts originally has this line: <version>6.0.2.GA-redhat-3</version>.

                         

                        I also had to change this line: <version.jboss.bom.brms>6.0.2.GA-redhat-3</version.jboss.bom.brms>. This was a simple edit. I just changed the 3 to a 5 because version 5 is in the maven.repository.redhat.com website.

                         

                        >>>>>> You can also look at the Getting Started Guide in product documentation (it should be available even without the subscription)

                        It is. Thank-you for the link.

                         

                        Thank-you again for the help. I am going to try to get the other 'Cool Store' demo running. I will try to get you some debug information soon.

                         

                        Respectfully,

                         

                        Kyle Smith

                        • 9. Re: Looking for Info With Using JBoss-BRMS and Guvnor
                          Petr Široký Newbie

                          No, there is no such thing as "more pure form of Guvnor". What was called Guvnor in 5.x is now (6.x) called KIE Drools Workbench (both Drools community names). The KIE Drools Workbench in _product_ (the BRMS) is then called Business Central (the name is same for both BRMS and BPM Suite products, purely to be consistent). BRMS comes with single web application - the Business Central.

                           

                          Yes, http://www.jboss.org/products/brms/community/ indeed mentions Guvnor and that needs to be fixed.

                           

                          I will look at the other issues in the quickstarts and fix them where necessary.

                           

                          Petr