2 Replies Latest reply on Feb 23, 2011 10:27 PM by bpmn2user

    JBPM process instance persistence

    npereira Newbie

      Hi forum,


      I have my JBPM5 installed, and I was able to deploy and run the process instances. Ex: Evaluation.bpmn


      But what happens when I shutdown server is that it forgets all the process that were running everything.

      So when I restart the server, I don't have any process running.


      Is there any configuration that has to be activated?




        • 1. JBPM process instance persistence
          Mauricio Salatino Master

          Yes, the default configuration uses H2 In memory database, if you change that configuration to use a different database like for example mySQL you will be able recover the state of the process. Look in the documentation to see how to change the configuration. If you look inside the application you will find a persistence.xml file where the persistence data source is defined.


          • 2. JBPM process instance persistence
            bpmn2user Expert

            Comment out 'hbm2ddl.auto' property in hibernate.cfg.xml file if you do not want the tables auto created after you restart.

            You can locate this file in gwt-console-server\WEB-INF\classes.


                   <!-- Drop and re-create the database schema on startup? -->

                 <property name="hbm2ddl.auto">create</property>