6 Replies Latest reply on Jun 7, 2013 5:47 PM by pzamudio

    Testing Jbpm 6.0.0 beta2 on JBoss7

    pzamudio

      Hi, we are starting to test the beta2 version of Jbpm over JBoss7, integrated in our enterpise app, but we are having some issues finding out the right dependencies to make the app deploy. Putting all jars included in the binary distribution in lib directory of ear doesn´t work. Is  there any documentation, or tips to get this version of Jbpm working on a server environment?

       

      Thanks in advance.

      Pablo

        • 1. Re: Testing Jbpm 6.0.0 beta2 on JBoss7
          salaboy21

          Hi Pablo,

          Can you be a little bit more specific. Can you describe which deps do you have in your application?

          What's the error that you are getting?

          You can always take a look at the jbpm installer, which is basically that.. it copies all the things required to a JBoss AS7 so you can use it there.

           

          Cheers

          • 2. Re: Testing Jbpm 6.0.0 beta2 on JBoss7
            pzamudio

            Hi Mauricio, thanks for the quick response.

            We have some ejbs that uses apis of Jbpm 5.4 (KSession, KBase, etc.). We want to test the app with the upcoming version, to see which changes we need to make.

            The app doesn´t use userTask modules, cause our process have tasks supported by WorkItemHandlers implemented by ourselves, that make some integration with a backend system. Basically we only deploy process, start them, and complete workitems to make the process advance.

            In order to do so, we downloaded bin distribution and so that there was a refactor of some jars, so we don´t know exactly wich of them are necesary. Tryed to put all jars in the distro, and with try and error solve deploy problems, but we are kind of stuck. Errors vary from ClassNotFoundException (obvious, we need others jars, that we add on demand) to errros of Injections in new CDI beans of Jbpm.

            Is there any chance that we can access to list of all basic jars of the distro, and then the ones that are optional, so we can do the trial a little less messy.

             

             

            Thanks in advance.

            Pablo

            • 3. Re: Testing Jbpm 6.0.0 beta2 on JBoss7
              salaboy21

              Well it's not that simple. Because if you have your own app with its own dependencies, there could be some dependencies clashing.

              you should follow what is inside the installer. Using maven you can see the dependency tree and then exclude the jars provieded by the Application Server modules

              • 4. Re: Testing Jbpm 6.0.0 beta2 on JBoss7
                pzamudio

                Is it possible to deploy Jbpm6 as a module in JBoss7, and include the dependency in our app? Have anyone tried?

                 

                Thanks in advance.

                Pablo

                • 5. Re: Testing Jbpm 6.0.0 beta2 on JBoss7
                  jbride

                  Pablo,

                    here is an example of an early draft of the packaging of jbpm6 libraries and dependencies as modules specifically for EAP6.1 .

                    expect substantial changes to this first draft as i've just recently begun discussions with jbpm core developers regarding this and so things are far from finalized.

                   

                  jeff

                  • 6. Re: Testing Jbpm 6.0.0 beta2 on JBoss7
                    pzamudio

                    Thanks for the link! It seems to work perfectly in JBoss 7.1.1. Is this project going to be released together with Jbpm 6.0.0.Final?

                     

                    Thanks again!

                    Pablo