10 Replies Latest reply on Sep 2, 2015 12:40 PM by simplex-software

    JBDS 8.1.0.GA - Can't configure the Drools default runtime

    simplex-software

      Hello,

       

      Trying to use Drools 6.1.0.Final with JBDS. In order to configure the runtime, I go to Windows->Preferences->Drools->Installed Drools Runtimes and I click on the Add button. Then I browse to C:\jboss-bpm-6.0.3\jboss-eap-6.1\modules\system\layers\bpms\org\drools and I select it as default runtime. I'm saving and restarting JBDS. Then, in the Problems view I can see the following: "Could not find default Drools runtime".

       

      Many thanks in adavance for any help.

       

      Kind regards,

       

      Nicolas

        • 1. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
          bbrodt

          Hi Nicolas,

           

          There should be directory named "runtime" under C:\jboss-bpm-6.0.3\jboss-eap-6.1, so you need to select C:\jboss-bpm-6.0.3\jboss-eap-6.1\runtime as the runtime directory. The Eclipse Tooling only needs the libraries in this directory for building Drools/jBPM projects.

           

          HTH,

          Bob

          • 2. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
            simplex-software

            Hi Bob,

            No there is no such directory as the mentioned one.

             

            Kind regards,

             

            Nicolas DUMINIL

            • 3. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
              maxandersen

              nicolasduminil can you tell which download you are using ? i.e. where you downloaded it from ?

              • 4. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
                krisverlaenen

                The runtime is distributed in the following zip (which you can download from customer portal):

                jboss-bpms-6.0.3.GA-redhat-1-deployable-generic.zip

                 

                Inside is a jboss-bpms-engine.zip.  Unzip this somewhere and you can use that as your runtime.

                 

                Kris

                • 5. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
                  simplex-software

                  The distribution jboss-bpmsuite-6.0.3-GA-installer.jar has been downloaded from the Red Hat customer portal. Once installed, it creates a directory hierachy named jboss-bpm-6.0.3 which doesn't contain neither any jboss-bpms-engine.zip nor a runtime directory. The only place where I found Drools libraries is :\jboss-bpm-6.0.3\jboss-eap-6.1\modules\system\layers\bpms\org\drools and using it to define the Drools runtime in JBDS doesn't work, raising the message  "Could not find default Drools runtime", as already explained above.

                   

                  Kind regards,

                   

                  Nicolas DUMINIL

                  • 6. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
                    simplex-software

                    I have downloaded the last release of BPM Suite from the customer portal (jboss-bpmsuite-6.1.0-GA-installer.jar). In order to install it I need EAP 6.4. So I downloaded and installed EAP 6.4.0 from the customer portal. Then I installed BPM Suite 6.1.0 on EAP 6.4.0 as instructed. Every thing works as expected for bothe the application server and the BPM Suite.

                     

                    Now, back to JBDS, I need to use this runtime (as it is, without patching or unzipping anything). But JBDS doesn't recognize it. My colleagues have downloaded Drools from community and used this download as JBDS runtime. But this is ridiculous as it requires to manually keep in sync two runtimes.

                     

                    So, as per my different trials, JBDS cannot be integrated with the Drools runtime comming with BPM Suite.

                     

                    Kind regards,

                     

                    Nicolas

                    • 7. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
                      krisverlaenen

                      Nicolas,

                       

                      The installer artefact that you downloaded can be used to install the business-central web tooling, but it does not contain the runtime for Eclipse you are looking for.  This is located in a different artefact, as I mentioned before.

                       

                      When using BPM Suite 6.1.x, the runtime is distributed as a separate zip, try downloading the Red Hat JBoss BPM Suite 6.1.0 Core Engine zip.

                       

                      For BPM Suite 6.0.x you should also be able to download the jboss-bpms-6.0.3.GA-redhat-1-deployable-generic.zip artefacts from customer portal.  This should contain the jboss-bpms-engine.zip as mentioned before as well, that can be used as a runtime when unzipped.

                       

                      Kris

                      • 8. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
                        simplex-software

                        Kriss,

                         

                        This confirms exactly what I was saying: with JBDS, one cannot use the JBoss BPM Suite as downloaded and installed from the customer portal. Anybody who has worked in a development team knows that, as a developer, one cannot download and use whatever she wants. This development team uses JBoss BPM Suite to design-develop business processes, rules, etc. The product, by itself, contains anything needed for that. But JBDS cannot use this same runtime and requires to download and install/unzip something else, which is not acceptable for us. Hence my conclusion: JBoss BPM Suite, as downloaded and installed from the customer portal cannot be integrated in JBDS. And the fact that one needs to download and unzipp other different additional libraries proofs that.

                         

                        Nicolas

                        • 9. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
                          krisverlaenen

                          Nicolas,

                           

                          You are correct that one cannot use the business-central installation (installed by the installer) as runtime in JBDS, this requires downloading an additional artefact.  This does contain the exact same version of the jars, but I understand your point.

                          Please open a feature request with support for adding runtime support for using an EAP installation as runtime for JBDS if this is crucial for you.

                           

                          Thx,

                          Kris

                          • 10. Re: JBDS 8.1.0.GA - Can't configure the Drools default runtime
                            simplex-software

                            I finally managed to solve this issue. It is possible to use the Drools runtime comming with JBoss BPMS Suite/BRMS by configuring the following path

                             

                            $EAP-HOME/standalone/deployments/business-central.war/WEB-INF/lib

                             

                            in Preferences->Drools->Drools Runtimes. This way one doesn't need to download the bpmsuite-engine or anything else.