3 Replies Latest reply on Dec 2, 2011 9:30 AM by Maciej Swiderski

    Using Jbpm 5 in a commercial project

    nash kom Newbie



      Our company has been using the JBOSS technology stack for 5 years now, and we have several SEAM application running in production at the moment.

      We have new requirements where the use of JBPM5 would make a lot of sense (for an incident ticketing application).

      We have started looking into the example and implementing some sandbox projects, but are running in a few difficulties.


      Unfortunately we missed the last JBPM event in LONDON by just a few weeks


      We were wondering:


      - does Redhat / Jboss offer any professional services for JBPM5 / have consultants specialised in JBPM in europe ?


      - Is there any dangers / warning to be aware of, before starting a project which is a not just a test project but needs to be production worthy ?


      - And for that matters is there any company you know of, who are already using JBMP5 (or jbpm3) in production or in project to be delivered in the near future


      - Does JBOSS have a list of "JBPM5 customer success story" (or JBPM3) that they are happy to share ?



      Thank you for your help.

        • 1. Re: Using Jbpm 5 in a commercial project
          Mauricio Salatino Master

          Hi Nash,

          I think you should contact Red Hat's sales people for those questions. this is more a technical forum where we can answer more concrete technical questions.

          It would be nice to see what kind of difficulties are you having and we can help you as community members who are working in the project.



          • 2. Re: Using Jbpm 5 in a commercial project
            nash kom Newbie

            Hi Mauricio,


            Thank you for your quick reply, we are tarting to contact sales people.


            sorry for the late reply, I was trying to simplify my process model to identify the source of the issue:


            here are the details :


            the process


            when I try  to access the process instance information Change Level workItemHandler:


            public class ChangeLevelWorkItemHandler implements WorkItemHandler {

            public void executeWorkItem(WorkItem workItem, WorkItemManager workItemManager) {

            System.out.println(" Changing the level = " + workItem.getParameter("direction"));



            in the processManager :


            public static ProcessInstance getProcessInstance(

            long processInstanceId) {

            return ksession.getProcessInstance(processInstanceId);





            I'm using a persisted ksession that I create exactly like in the jbpm console :


            env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf);

            Properties properties = new Properties();

            properties.put("drools.processInstanceManagerFactory", "org.jbpm.persistence.processinstance.JPAProcessInstanceManagerFactory");

            properties.put("drools.processSignalManagerFactory", "org.jbpm.persistence.processinstance.JPASignalManagerFactory");

            KnowledgeSessionConfiguration config = KnowledgeBaseFactory.newKnowledgeSessionConfiguration(properties);

            try {


            the process is executed correctly, but after the transaction time out, there is a roll-back(ransactionReaper::check timeout …. Abort of action id 7f000101:e18b:4ed4a5a4:10b invoked while multiple threads active within it. ).


            I activated hibernate sql logs, I can see the sql request to create the process, but not those to insert the workiteminfo and delete them after the end.


            Every thing work correctly and I can see all the sql request if :

            I remove the timer or the ProcessManager.getProcessInstance(workItem.getProcessInstanceId()) line from the workItemHandler.



            I will try this process in the jbpm console to see how it behave. But I don't know where to put the workitem handler.


            Many thanks for your help

            • 3. Re: Using Jbpm 5 in a commercial project
              Maciej Swiderski Master

              Just as a side note, I believe there are few or even more people/companies that would be more than happy to assist you with your jBPM projects as consulting services here at the community. So if you are interested just post such question and is likely you will get some replies.