1 2 Previous Next 15 Replies Latest reply on Nov 9, 2005 5:22 PM by kukeltje

    Could use some help with hot deploy

    davidsan1001

      So far I've been completely rebuilding and redeploying all of jBPM to JBoss and have been successful deploying any number of .par processes.

      I'm trying to start stabilizing my external server so now I would like to hot deploy a completely new .par file (and then just a new version of an existing process.)

      Can't seem to get it to happen. Here is what I have done.

      Modified build.xml





















      ..and finally the build.deploy.xml









      Seems like this should do the trick . I verified that the "Test.Deploy.par is created properly and contains the correct files. Its a bit of a mystery to me what happen at .."<deploypar properties..." but it finishes with no sign of errors. However the process in the .par never shows up on the home screen.

      You guys are great. I'm hoping to start building little sample workflows and post them in my external server. I can then show them to potential customers and show off what jBPM can do. I really need to be able to do it without wiping out everything though.

        • 1. Re: Could use some help with hot deploy
          koen.aers

          Post your build.xml file between the code brackets for us to see it. But it might be good to post the processdefinition.xml file you have also.

          Regards,
          Koen

          • 2. Re: Could use some help with hot deploy
            davidsan1001

            Everything is the same as the default build.xml except the following

            <target name="compile.test.par" depends="compile.jbpm" description="compiles src/java.examples to the build/examples.classes folder">
             <mkdir dir="build/classes.test" />
             <copy todir="build/classes.test">
             <fileset dir="src/processes.to.deploy/Test.Deploy.par" excludes="**/*.java, **/CVS"/>
             </copy>
             </target>
            <target name="build.test.process" depends="compile.examples" description="builds the example processes">
            
             <mkdir dir="build/testapp/classes" />
             <copy todir="build/testapp">
             <fileset dir="src/processes.to.deploy/Test.Deploy.par" />
             </copy>
             <copy todir="build/testapp/classes">
             <fileset dir="build/classes.test" includes="com/complysoft/**" />
             </copy>
             <zip destfile="build/Test.Deploy.par">
             <fileset dir="build/testapp" />
             </zip>
             </target>
            

            And on build.deploy.xml
            <target name="test.deploynewpar" depends="declare.jbpm.tasks, db.start" description="trying not to creates a hypersonic database with the jbpm tables and loads the processes in there">
             <ant antfile="build.xml" target="build.test.process" inheritall="false" />
             <deploypar properties="${basedir}/src/resources/hsqldb/create.db.hibernate.properties">
             <fileset dir="build" includes="Test.Deploy.par" />
             </deploypar>
             <antcall target="db.stop" />
             </target>
            

            Here is the processdefinition.xml
            <?xml version="1.0" encoding="UTF-8"?>
            
            <process-definition name="RoHSBud Workflow">
            
             <swimlane name="compliance manager">
             <assignment expression="user(Compliance Manager)"/>
             </swimlane>
            
             <swimlane name="manufacturing">
             <assignment expression="user(Manufacturing)"/>
             </swimlane>
            
             <swimlane name="compliance administrator">
             <assignment expression="user(Compliance Administrator)"/>
             </swimlane>
            
             <swimlane name="component engineer">
             <assignment expression="user(Component Engineer)"/>
             </swimlane>
            
             <swimlane name="test engineer">
             <assignment expression="user(Test Engineer)"/>
             </swimlane>
            
             <swimlane name="purchasing">
             <assignment expression="user(Purchasing)"/>
             </swimlane>
            
             <start-state name="Create Project">
             <task swimlane="compliance manager">
             <controller>
             <variable name="project_name" />
             <variable name="product_name" />
             <variable name="project_description" />
             <variable name="start_date" />
             <variable name="target_end_date" />
             <variable name="owner" />
             <variable name="priority" />
             </controller>
             </task>
             <transition name="tr1" to="Compile List of Parts"></transition>
            
             </start-state>
            
             <task-node name="Compile List of Parts">
             <task swimlane="manufacturing">
             <controller>
             <variable name="manuf_part_number" mapped-name="Manuf. Part Number" />
             <variable name="manuf_part_description" mapped-name="Manuf. Part Description" />
             <variable name="vendor_name" mapped-name="Vendor Name" />
             <variable name="vendor_part_number" mapped-name="Vendor Part Number" />
             <variable name="sourcing" mapped-name="Sourcing Type" />
             <variable name="owner" mapped-name="Owner" />
             </controller>
             </task>
             <transition name="tr1" to="Check Each Part"></transition>
             </task-node>
            
             <task-node name="Check Each Part">
             <task swimlane="compliance administrator">
             <controller>
             <variable name="manuf_part_number" access="read" mapped-name="Manuf. Part Number" />
             <variable name="manuf_part_description" access="read" mapped-name="Manuf. Part Description" />
             <variable name="vendor_name" access="read" mapped-name="Vendor Name" />
             <variable name="vendor_part_number" access="read" mapped-name="Vendor Part Number" />
             <variable name="rohs_status" mapped-name="RoHS Status" />
             </controller>
             </task>
             <transition name="tr1" to="Find Alternate Parts"></transition>
             </task-node>
            
             <task-node name="Find Alternate Parts">
             <task swimlane="component engineer">
             <controller>
             <variable name="manuf_part_number" access="read" mapped-name="Manuf. Part Number" />
             <variable name="manuf_part_description" access="read" mapped-name="Manuf. Part Description" />
             <variable name="alternate_vendor_name" mapped-name="Alternate Vendor Name" />
             <variable name="alternate_vendor_part_number" mapped-name="Alternate Vendor Part Number"/>
             </controller>
             </task>
             <transition name="tr1" to="Qualify Vendor"></transition>
             </task-node>
            
             <task-node name="Qualify Vendor">
             <task swimlane="purchasing">
             <controller>
             <variable name="alternate_vendor_name" access="read" mapped-name="Alternate Vendor Name" />
             <variable name="vendor_qualification_status" mapped-name="Vendor Qualification Status" />
             </controller>
             </task>
             <transition name="tr1" to="Manufacture Prototype"></transition>
             </task-node>
            
             <task-node name="Manufacture Prototype">
             <task swimlane="manufacturing">
             <controller>
             <variable name="project_name" access="read" mapped-name="Project Name" />
             <variable name="date_last_part_ready" mapped-name="Date Last Part Ready" />
             <variable name="date_of_rohs_manuf_proto" mapped-name="Scheduled Date of Manuf." />
             </controller>
             </task>
             <transition name="tr1" to="Test Prototype"></transition>
             </task-node>
            
             <task-node name="Test Prototype">
             <task swimlane="test engineer">
             <controller>
             <variable name="project_name" access="read" mapped-name="Project Name" />
             <variable name="rohs_proto_test_result" mapped-name="Prototype test result" />
             </controller>
             </task>
             <transition name="tr1" to="Produce Audit Documentation"></transition>
             </task-node>
            
             <task-node name="Produce Audit Documentation">
             <task swimlane="compliance manager">
             <controller>
             <variable name="project_name" access="read" mapped-name="Project Name" />
             <variable name="rohs_proto_test_result" access="read" mapped-name="Prototype test result" />
             </controller>
             </task>
             <transition name="tr1" to="Celebrate!!"></transition>
             </task-node>
            
             <end-state name="Celebrate!!"></end-state>
            </process-definition>
            

            Thanks Koen.

            • 3. Re: Could use some help with hot deploy
              davidsan1001

              Okay, Istreamlined my build scripts. Here are the new ones. Also, I've added the screen output for the deploy command. Again, everything seems to go well but the new process simply doesn't show up.
              build.xml

              <target name="compile.EmailTimer" depends="" description="compiles Email timer">
               <mkdir dir="build/classes.emailtimer" />
               <javac srcdir="src/processes.to.deploy/EmailTimerProcess.par/com/sample/Action" destdir="build/classes.emailtimer" source="1.4" target="1.4" debug="on" fork="yes">
               <classpath refid="classpath"/>
               </javac>
               </target>
              
               <target name="build.EmailTimer" depends="compile.examples" description="builds the example processes">
               <copy todir="build/classes.emailtimer">
               <fileset dir="src/processes.to.deploy/EmailTimerProcess.par" />
               </copy>
               <zip destfile="build/EmailTimer.par">
               <fileset dir="build/classes.emailtimer" />
               </zip>
               </target>
              

              build.deploy.xml
               <target name="deploy.EmailTimer" depends="db.stop, db.start" description="trying not to creates a hypersonic database with the jbpm tables and loads the processes in there">
               <!--
               <ant antfile="build.deploy.xml" target="db.stop, db.start" inheritall="false" />
               -->
               <deploypar properties="${basedir}/src/resources/hsqldb/create.db.hibernate.properties">
               <fileset dir="build" includes="EmailTimerProcess.par" />
               </deploypar>
               <antcall target="db.stop" />
               </target>
              

              Here is the screen output when I run the above build script
              Buildfile: build.deploy.xml
              
              db.stop:
               [java] java.sql.SQLException: socket creation error
              
              declare.jbpm.tasks:
              
              db.start:
              [starthsqldb] starting 'java -cp c:/jboss-4.0.3/server/default/lib/hsqldb.jar org.hsqldb.Server -database C:\jbpm.3/build/db/localDB -port 1701'...
              [starthsqldb] [Server@506411]: [Thread[main,5,main]]: checkRunning(false) entered
              [starthsqldb] [Server@506411]: [Thread[main,5,main]]: checkRunning(false) exited
              [starthsqldb] [Server@506411]: Startup sequence initiated from main() method
              [starthsqldb] [Server@506411]: Loaded properties from [C:\jbpm.3\server.properties]
              [starthsqldb] [Server@506411]: Initiating startup sequence...
              [starthsqldb] [Server@506411]: Server socket opened successfully in 40 ms.
              [starthsqldb] [Server@506411]: Database [index=0, id=0, db=file:C:\jbpm.3/build/db/localDB, alias=] opened sucessfully in 752 ms.
              [starthsqldb] [Server@506411]: Startup sequence completed in 802 ms.
              [starthsqldb] [Server@506411]: 2005-11-08 10:20:17.523 HSQLDB server 1.8.0 is online
              [starthsqldb] 'java -cp c:/jboss-4.0.3/server/default/lib/hsqldb.jar org.hsqldb.Server -database C:\jbpm.3/build/db/localDB -port 1701' started.
              
              deploy.EmailTimer:
              [deploypar] 10:20:18,324 [main] INFO Environment : Hibernate 3.1 beta 3
              [deploypar] 10:20:18,364 [main] INFO Environment : hibernate.properties not found
              [deploypar] 10:20:18,384 [main] INFO Environment : using CGLIB reflection optimizer
              [deploypar] 10:20:18,384 [main] INFO Environment : using JDK 1.4 java.sql.Timestamp handling
              [deploypar] 10:20:18,724 [main] INFO Configuration : configuring from resource: /hibernate.cfg.xml
              [deploypar] 10:20:18,724 [main] INFO Configuration : Configuration resource: /hibernate.cfg.xml
              [deploypar] 10:20:19,205 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/action/Script.hbm.xml
              [deploypar] 10:20:19,525 [main] INFO Configuration : Reading mappings from resource: org/jbpm/identity/User.hbm.xml
              [deploypar] 10:20:19,646 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.User -> JBPM_ID_USER
              [deploypar] 10:20:19,806 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.User.permissions -> JBPM_ID_PERMISSIONS
              [deploypar] 10:20:19,816 [main] INFO Configuration : Reading mappings from resource: org/jbpm/identity/Group.hbm.xml
              [deploypar] 10:20:19,876 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.Group -> JBPM_ID_GROUP
              [deploypar] 10:20:20,206 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Group.permissions -> JBPM_ID_PERMISSIONS
              [deploypar] 10:20:20,206 [main] INFO Configuration : Reading mappings from resource: org/jbpm/identity/Membership.hbm.xml
              [deploypar] 10:20:20,427 [main] INFO HbmBinder : Mapping class: org.jbpm.identity.Membership -> JBPM_ID_MEMBERSHIP
              [deploypar] 10:20:20,437 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Membership.permissions -> JBPM_ID_PERMISSIONS
              [deploypar] 10:20:20,437 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/ProcessDefinition.hbm.xml
              [deploypar] 10:20:20,487 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
              [deploypar] 10:20:20,577 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Node.hbm.xml
              [deploypar] 10:20:20,627 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE
              [deploypar] 10:20:20,667 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Transition.hbm.xml
              [deploypar] 10:20:20,707 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION
              [deploypar] 10:20:20,727 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Event.hbm.xml
              [deploypar] 10:20:20,757 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Event -> JBPM_EVENT
              [deploypar] 10:20:20,767 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/Action.hbm.xml
              [deploypar] 10:20:20,797 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.Action -> JBPM_ACTION
              [deploypar] 10:20:20,817 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/SuperState.hbm.xml
              [deploypar] 10:20:21,158 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.def.SuperState -> JBPM_NODE
              [deploypar] 10:20:21,158 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/def/ExceptionHandler.hbm.xml
              [deploypar] 10:20:21,188 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.def.ExceptionHandler -> JBPM_EXCEPTIONHANDLER
              [deploypar] 10:20:21,198 [main] INFO Configuration : Reading mappings from resource: org/jbpm/instantiation/Delegation.hbm.xml
              [deploypar] 10:20:21,218 [main] INFO HbmBinder : Mapping class: org.jbpm.instantiation.Delegation -> JBPM_DELEGATION
              [deploypar] 10:20:21,248 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/StartState.hbm.xml
              [deploypar] 10:20:21,268 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.StartState -> JBPM_NODE
              [deploypar] 10:20:21,268 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/EndState.hbm.xml
              [deploypar] 10:20:21,298 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.EndState -> JBPM_NODE
              [deploypar] 10:20:21,298 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/ProcessState.hbm.xml
              [deploypar] 10:20:21,328 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.ProcessState -> JBPM_NODE
              [deploypar] 10:20:21,338 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/Decision.hbm.xml
              [deploypar] 10:20:21,368 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Decision -> JBPM_NODE
              [deploypar] 10:20:21,368 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.Decision.decisionConditions -> JBPM_DECISIONCONDITIONS
              [deploypar] 10:20:21,378 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/Fork.hbm.xml
              [deploypar] 10:20:21,408 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Fork -> JBPM_NODE
              [deploypar] 10:20:21,408 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/Join.hbm.xml
              [deploypar] 10:20:21,699 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.Join -> JBPM_NODE
              [deploypar] 10:20:21,699 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/State.hbm.xml
              [deploypar] 10:20:21,719 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.State -> JBPM_NODE
              [deploypar] 10:20:21,719 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/node/TaskNode.hbm.xml
              [deploypar] 10:20:21,749 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.node.TaskNode -> JBPM_NODE
              [deploypar] 10:20:21,779 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/def/ContextDefinition.hbm.xml
              [deploypar] 10:20:21,799 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/def/VariableAccess.hbm.xml
              [deploypar] 10:20:21,829 [main] INFO HbmBinder : Mapping class: org.jbpm.context.def.VariableAccess -> JBPM_VARIABLEACCESS
              [deploypar] 10:20:21,839 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml
              [deploypar] 10:20:21,869 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/Swimlane.hbm.xml
              [deploypar] 10:20:21,919 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Swimlane -> JBPM_SWIMLANE
              [deploypar] 10:20:21,929 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/Task.hbm.xml
              [deploypar] 10:20:21,969 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.Task -> JBPM_TASK
              [deploypar] 10:20:22,009 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/def/TaskController.hbm.xml
              [deploypar] 10:20:22,029 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.def.TaskController -> JBPM_TASKCONTROLLER
              [deploypar] 10:20:22,229 [main] INFO Configuration : Reading mappings from resource: org/jbpm/module/def/ModuleDefinition.hbm.xml
              [deploypar] 10:20:22,259 [main] INFO HbmBinder : Mapping class: org.jbpm.module.def.ModuleDefinition -> JBPM_MODULEDEFINITION
              [deploypar] 10:20:22,269 [main] INFO Configuration : Reading mappings from resource: org/jbpm/bytes/ByteArray.hbm.xml
              [deploypar] 10:20:22,289 [main] INFO HbmBinder : Mapping class: org.jbpm.bytes.ByteArray -> JBPM_BYTEARRAY
              [deploypar] 10:20:22,299 [main] INFO HbmBinder : Mapping collection: org.jbpm.bytes.ByteArray.byteBlocks -> JBPM_BYTEBLOCK
              [deploypar] 10:20:22,299 [main] INFO Configuration : Reading mappings from resource: org/jbpm/file/def/FileDefinition.hbm.xml
              [deploypar] 10:20:22,319 [main] INFO HbmBinder : Mapping subclass: org.jbpm.file.def.FileDefinition -> JBPM_MODULEDEFINITION
              [deploypar] 10:20:22,319 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/def/CreateTimerAction.hbm.xml
              [deploypar] 10:20:22,339 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CreateTimerAction -> JBPM_ACTION
              [deploypar] 10:20:22,380 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/def/CancelTimerAction.hbm.xml
              [deploypar] 10:20:22,400 [main] INFO HbmBinder : Mapping subclass: org.jbpm.scheduler.def.CancelTimerAction -> JBPM_ACTION
              [deploypar] 10:20:22,410 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/Comment.hbm.xml
              [deploypar] 10:20:22,430 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.Comment -> JBPM_COMMENT
              [deploypar] 10:20:22,440 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/ProcessInstance.hbm.xml
              [deploypar] 10:20:22,470 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE
              [deploypar] 10:20:22,500 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/Token.hbm.xml
              [deploypar] 10:20:22,530 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.Token -> JBPM_TOKEN
              [deploypar] 10:20:22,570 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/exe/RuntimeAction.hbm.xml
              [deploypar] 10:20:22,780 [main] INFO HbmBinder : Mapping class: org.jbpm.graph.exe.RuntimeAction -> JBPM_RUNTIMEACTION
              [deploypar] 10:20:22,790 [main] INFO Configuration : Reading mappings from resource: org/jbpm/module/exe/ModuleInstance.hbm.xml
              [deploypar] 10:20:22,810 [main] INFO HbmBinder : Mapping class: org.jbpm.module.exe.ModuleInstance -> JBPM_MODULEINSTANCE
              [deploypar] 10:20:22,820 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/ContextInstance.hbm.xml
              [deploypar] 10:20:22,840 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.ContextInstance -> JBPM_MODULEINSTANCE
              [deploypar] 10:20:22,840 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/TokenVariableMap.hbm.xml
              [deploypar] 10:20:22,860 [main] INFO HbmBinder : Mapping class: org.jbpm.context.exe.TokenVariableMap -> JBPM_TOKENVARIABLEMAP
              [deploypar] 10:20:22,890 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/VariableInstance.hbm.xml
              [deploypar] 10:20:22,910 [main] INFO HbmBinder : Mapping class: org.jbpm.context.exe.VariableInstance -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:22,920 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml
              [deploypar] 10:20:22,940 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.ByteArrayInstance -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:22,940 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml
              [deploypar] 10:20:22,970 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.DateInstance -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:22,970 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml
              [deploypar] 10:20:23,000 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.DoubleInstance -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:23,000 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml
              [deploypar] 10:20:23,020 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateLongInstance -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:23,020 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
              [deploypar] 10:20:23,231 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateStringInstance -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:23,231 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml
              [deploypar] 10:20:23,251 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.LongInstance -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:23,251 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
              [deploypar] 10:20:23,271 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.exe.variableinstance.StringInstance -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:23,271 [main] INFO Configuration : Reading mappings from resource: org/jbpm/msg/Message.hbm.xml
              [deploypar] 10:20:23,291 [main] INFO HbmBinder : Mapping class: org.jbpm.msg.Message -> JBPM_MESSAGE
              [deploypar] 10:20:23,301 [main] INFO Configuration : Reading mappings from resource: org/jbpm/msg/db/TextMessage.hbm.xml
              [deploypar] 10:20:23,331 [main] INFO HbmBinder : Mapping subclass: org.jbpm.msg.db.TextMessage -> JBPM_MESSAGE
              [deploypar] 10:20:23,331 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/ExecuteActionCommand.hbm.xml
              [deploypar] 10:20:23,351 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.ExecuteActionCommand -> JBPM_MESSAGE
              [deploypar] 10:20:23,361 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/ExecuteNodeCommand.hbm.xml
              [deploypar] 10:20:23,381 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.ExecuteNodeCommand -> JBPM_MESSAGE
              [deploypar] 10:20:23,381 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/SignalCommand.hbm.xml
              [deploypar] 10:20:23,401 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.SignalCommand -> JBPM_MESSAGE
              [deploypar] 10:20:23,411 [main] INFO Configuration : Reading mappings from resource: org/jbpm/command/TaskInstanceEndCommand.hbm.xml
              [deploypar] 10:20:23,431 [main] INFO HbmBinder : Mapping subclass: org.jbpm.command.TaskInstanceEndCommand -> JBPM_MESSAGE
              [deploypar] 10:20:23,431 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml
              [deploypar] 10:20:23,451 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.exe.TaskMgmtInstance -> JBPM_MODULEINSTANCE
              [deploypar] 10:20:23,471 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
              [deploypar] 10:20:23,491 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.exe.TaskInstance -> JBPM_TASKINSTANCE
              [deploypar] 10:20:23,541 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.pooledActors -> JBPM_TASKACTORPOOL
              [deploypar] 10:20:23,541 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/PooledActor.hbm.xml
              [deploypar] 10:20:23,561 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.exe.PooledActor -> JBPM_POOLEDACTOR
              [deploypar] 10:20:23,571 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.PooledActor.taskInstances -> JBPM_TASKACTORPOOL
              [deploypar] 10:20:23,571 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml
              [deploypar] 10:20:23,822 [main] INFO HbmBinder : Mapping class: org.jbpm.taskmgmt.exe.SwimlaneInstance -> JBPM_SWIMLANEINSTANCE
              [deploypar] 10:20:23,832 [main] INFO Configuration : Reading mappings from resource: org/jbpm/scheduler/exe/Timer.hbm.xml
              [deploypar] 10:20:23,852 [main] INFO HbmBinder : Mapping class: org.jbpm.scheduler.exe.Timer -> JBPM_TIMER
              [deploypar] 10:20:23,882 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/log/ProcessLog.hbm.xml
              [deploypar] 10:20:23,892 [main] INFO HbmBinder : Mapping class: org.jbpm.logging.log.ProcessLog -> JBPM_LOG
              [deploypar] 10:20:23,902 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/log/MessageLog.hbm.xml
              [deploypar] 10:20:23,922 [main] INFO HbmBinder : Mapping subclass: org.jbpm.logging.log.MessageLog -> JBPM_LOG
              [deploypar] 10:20:23,932 [main] INFO Configuration : Reading mappings from resource: org/jbpm/logging/log/CompositeLog.hbm.xml
              [deploypar] 10:20:23,952 [main] INFO HbmBinder : Mapping subclass: org.jbpm.logging.log.CompositeLog -> JBPM_LOG
              [deploypar] 10:20:23,952 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ActionLog.hbm.xml
              [deploypar] 10:20:23,972 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ActionLog -> JBPM_LOG
              [deploypar] 10:20:23,982 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/NodeLog.hbm.xml
              [deploypar] 10:20:24,002 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.NodeLog -> JBPM_LOG
              [deploypar] 10:20:24,002 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml
              [deploypar] 10:20:24,032 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ProcessInstanceCreateLog -> JBPM_LOG
              [deploypar] 10:20:24,032 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml
              [deploypar] 10:20:24,052 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.ProcessInstanceEndLog -> JBPM_LOG
              [deploypar] 10:20:24,052 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/SignalLog.hbm.xml
              [deploypar] 10:20:24,072 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.SignalLog -> JBPM_LOG
              [deploypar] 10:20:24,072 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/TokenCreateLog.hbm.xml
              [deploypar] 10:20:24,092 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.TokenCreateLog -> JBPM_LOG
              [deploypar] 10:20:24,092 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/TokenEndLog.hbm.xml
              [deploypar] 10:20:24,122 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.TokenEndLog -> JBPM_LOG
              [deploypar] 10:20:24,122 [main] INFO Configuration : Reading mappings from resource: org/jbpm/graph/log/TransitionLog.hbm.xml
              [deploypar] 10:20:24,342 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.log.TransitionLog -> JBPM_LOG
              [deploypar] 10:20:24,342 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableLog.hbm.xml
              [deploypar] 10:20:24,362 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableLog -> JBPM_LOG
              [deploypar] 10:20:24,372 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableCreateLog.hbm.xml
              [deploypar] 10:20:24,392 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableCreateLog -> JBPM_LOG
              [deploypar] 10:20:24,392 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableDeleteLog.hbm.xml
              [deploypar] 10:20:24,402 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableDeleteLog -> JBPM_LOG
              [deploypar] 10:20:24,412 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/VariableUpdateLog.hbm.xml
              [deploypar] 10:20:24,432 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.VariableUpdateLog -> JBPM_LOG
              [deploypar] 10:20:24,432 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml
              [deploypar] 10:20:24,452 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.ByteArrayUpdateLog -> JBPM_LOG
              [deploypar] 10:20:24,452 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml
              [deploypar] 10:20:24,473 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.DateUpdateLog -> JBPM_LOG
              [deploypar] 10:20:24,473 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml
              [deploypar] 10:20:24,493 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.DoubleUpdateLog -> JBPM_LOG
              [deploypar] 10:20:24,503 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml
              [deploypar] 10:20:24,523 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.HibernateLongUpdateLog -> JBPM_LOG
              [deploypar] 10:20:24,523 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml
              [deploypar] 10:20:24,543 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.HibernateStringUpdateLog -> JBPM_LOG
              [deploypar] 10:20:24,543 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml
              [deploypar] 10:20:24,563 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.LongUpdateLog -> JBPM_LOG
              [deploypar] 10:20:24,563 [main] INFO Configuration : Reading mappings from resource: org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
              [deploypar] 10:20:24,783 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.log.variableinstance.StringUpdateLog -> JBPM_LOG
              [deploypar] 10:20:24,783 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskLog.hbm.xml
              [deploypar] 10:20:24,803 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskLog -> JBPM_LOG
              [deploypar] 10:20:24,803 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml
              [deploypar] 10:20:24,823 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskCreateLog -> JBPM_LOG
              [deploypar] 10:20:24,823 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml
              [deploypar] 10:20:24,843 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskAssignLog -> JBPM_LOG
              [deploypar] 10:20:24,853 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml
              [deploypar] 10:20:24,873 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.TaskEndLog -> JBPM_LOG
              [deploypar] 10:20:24,873 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml
              [deploypar] 10:20:24,893 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneLog -> JBPM_LOG
              [deploypar] 10:20:24,893 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml
              [deploypar] 10:20:24,913 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneCreateLog -> JBPM_LOG
              [deploypar] 10:20:24,923 [main] INFO Configuration : Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml
              [deploypar] 10:20:24,943 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneAssignLog -> JBPM_LOG
              [deploypar] 10:20:24,953 [main] INFO Configuration : Configured SessionFactory: null
              [deploypar] 10:20:24,963 [main] INFO Configuration : processing extends queue
              [deploypar] 10:20:24,963 [main] INFO HbmBinder : Mapping subclass: org.jbpm.context.def.ContextDefinition -> JBPM_MODULEDEFINITION
              [deploypar] 10:20:24,963 [main] INFO HbmBinder : Mapping subclass: org.jbpm.taskmgmt.def.TaskMgmtDefinition -> JBPM_MODULEDEFINITION
              [deploypar] 10:20:24,963 [main] INFO HbmBinder : Mapping subclass: org.jbpm.graph.action.Script -> JBPM_ACTION
              [deploypar] 10:20:24,983 [main] INFO Configuration : processing collection mappings
              [deploypar] 10:20:24,983 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.User.memberships -> JBPM_ID_MEMBERSHIP
              [deploypar] 10:20:24,983 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Group.children -> JBPM_ID_GROUP
              [deploypar] 10:20:24,993 [main] INFO HbmBinder : Mapping collection: org.jbpm.identity.Group.memberships -> JBPM_ID_MEMBERSHIP
              [deploypar] 10:20:24,993 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.events -> JBPM_EVENT
              [deploypar] 10:20:24,993 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
              [deploypar] 10:20:24,993 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.nodes -> JBPM_NODE
              [deploypar] 10:20:25,003 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.actions -> JBPM_ACTION
              [deploypar] 10:20:25,003 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ProcessDefinition.definitions -> JBPM_MODULEDEFINITION
              [deploypar] 10:20:25,003 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.events -> JBPM_EVENT
              [deploypar] 10:20:25,013 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
              [deploypar] 10:20:25,013 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.leavingTransitions -> JBPM_TRANSITION
              [deploypar] 10:20:25,013 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Node.arrivingTransitions -> JBPM_TRANSITION
              [deploypar] 10:20:25,013 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Transition.events -> JBPM_EVENT
              [deploypar] 10:20:25,013 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Transition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
              [deploypar] 10:20:25,023 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.Event.actions -> JBPM_ACTION
              [deploypar] 10:20:25,023 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.SuperState.nodes -> JBPM_NODE
              [deploypar] 10:20:25,023 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.def.ExceptionHandler.actions -> JBPM_ACTION
              [deploypar] 10:20:25,023 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.ProcessState.variableAccesses -> JBPM_VARIABLEACCESS
              [deploypar] 10:20:25,033 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.node.TaskNode.tasks -> JBPM_TASK
              [deploypar] 10:20:25,033 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.Swimlane.tasks -> JBPM_TASK
              [deploypar] 10:20:25,033 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.Task.events -> JBPM_EVENT
              [deploypar] 10:20:25,043 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.Task.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
              [deploypar] 10:20:25,043 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskController.variableAccesses -> JBPM_VARIABLEACCESS
              [deploypar] 10:20:25,043 [main] INFO HbmBinder : Mapping collection: org.jbpm.file.def.FileDefinition.processFiles -> JBPM_BYTEARRAY
              [deploypar] 10:20:25,043 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.ProcessInstance.runtimeActions -> JBPM_RUNTIMEACTION
              [deploypar] 10:20:25,043 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.ProcessInstance.instances -> JBPM_MODULEINSTANCE
              [deploypar] 10:20:25,043 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.Token.children -> JBPM_TOKEN
              [deploypar] 10:20:25,043 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.exe.Token.comments -> JBPM_COMMENT
              [deploypar] 10:20:25,053 [main] INFO HbmBinder : Mapping collection: org.jbpm.context.exe.ContextInstance.tokenVariableMaps -> JBPM_TOKENVARIABLEMAP
              [deploypar] 10:20:25,053 [main] INFO HbmBinder : Mapping collection: org.jbpm.context.exe.TokenVariableMap.variableInstances -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:25,053 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.swimlaneInstances -> JBPM_SWIMLANEINSTANCE
              [deploypar] 10:20:25,053 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.taskInstances -> JBPM_TASKINSTANCE
              [deploypar] 10:20:25,063 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances -> JBPM_VARIABLEINSTANCE
              [deploypar] 10:20:25,063 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.comments -> JBPM_COMMENT
              [deploypar] 10:20:25,063 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.exe.SwimlaneInstance.pooledActors -> JBPM_POOLEDACTOR
              [deploypar] 10:20:25,073 [main] INFO HbmBinder : Mapping collection: org.jbpm.logging.log.CompositeLog.children -> JBPM_LOG
              [deploypar] 10:20:25,073 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE
              [deploypar] 10:20:25,073 [main] INFO HbmBinder : Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK
              [deploypar] 10:20:25,073 [main] INFO HbmBinder : Mapping collection: org.jbpm.graph.action.Script.variableAccesses -> JBPM_VARIABLEACCESS
              [deploypar] 10:20:25,083 [main] INFO Configuration : processing association property references
              [deploypar] 10:20:25,083 [main] INFO Configuration : processing foreign key constraints
              [deploypar] 10:20:25,374 [main] INFO C3P0ConnectionProvider : C3P0 using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:hsql://localhost:1701
              [deploypar] 10:20:25,374 [main] INFO C3P0ConnectionProvider : Connection properties: {user=sa, password=****}
              [deploypar] 10:20:25,384 [main] INFO C3P0ConnectionProvider : autocommit mode: false
              [deploypar] Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@cc0e01 [ connectionPoolDataSource ->
              com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@510e39 [ acquireIncrement -> 1, acquireRetryAttempts ->
              30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure ->
              false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation ->
              null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod ->
              0, initialPoolSize -> 1, maxIdleTime -> 0, maxPoolSize -> 3, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1,
              nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@1f44ec7
              [ description -> null, driverClass -> null, factoryClassLocation -> null, jdbcUrl -> jdbc:hsqldb:hsql://localhost:1701, properties
              -> {user=******, password=******} ] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin
              -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ] , factoryClassLocation -> null, numHelperThreads -> 3, poolOwnerIdentityToken -> cc0e01 ]
              [deploypar] 10:20:26,776 [main] INFO SettingsFactory : RDBMS: HSQL Database Engine, version: 1.8.0
              [deploypar] 10:20:26,786 [main] INFO SettingsFactory : JDBC driver: HSQL Database Engine Driver, version: 1.8.0
              [deploypar] 10:20:26,896 [main] INFO Dialect : Using dialect: org.hibernate.dialect.HSQLDialect
              [deploypar] 10:20:26,926 [main] INFO TransactionFactoryFactory : Using default transaction strategy (direct JDBC transactions)
              [deploypar] 10:20:26,936 [main] INFO TransactionManagerLookupFactory : No TransactionManagerLookup configured (in JTA environment,
              use of read-write or transactional second-level cache is not recommended)
              [deploypar] 10:20:26,946 [main] INFO SettingsFactory : Automatic flush during beforeCompletion(): disabled
              [deploypar] 10:20:26,946 [main] INFO SettingsFactory : Automatic session close at end of transaction: disabled
              [deploypar] 10:20:26,946 [main] INFO SettingsFactory : JDBC batch size: 15
              [deploypar] 10:20:26,946 [main] INFO SettingsFactory : JDBC batch updates for versioned data: disabled
              [deploypar] 10:20:26,956 [main] INFO SettingsFactory : Scrollable result sets: enabled
              [deploypar] 10:20:26,956 [main] INFO SettingsFactory : JDBC3 getGeneratedKeys(): disabled
              [deploypar] 10:20:26,956 [main] INFO SettingsFactory : Connection release mode: null
              [deploypar] 10:20:26,966 [main] INFO SettingsFactory : Default batch fetch size: 1
              [deploypar] 10:20:26,966 [main] INFO SettingsFactory : Generate SQL with comments: disabled
              [deploypar] 10:20:26,966 [main] INFO SettingsFactory : Order SQL updates by primary key: disabled
              [deploypar] 10:20:26,966 [main] INFO SettingsFactory : Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
              [deploypar] 10:20:26,996 [main] INFO ASTQueryTranslatorFactory : Using ASTQueryTranslatorFactory
              [deploypar] 10:20:26,996 [main] INFO SettingsFactory : Query language substitutions: {}
              [deploypar] 10:20:26,996 [main] INFO SettingsFactory : Second-level cache: enabled
              [deploypar] 10:20:26,996 [main] INFO SettingsFactory : Query cache: disabled
              [deploypar] 10:20:26,996 [main] INFO SettingsFactory : Cache provider: org.hibernate.cache.EhCacheProvider
              [deploypar] 10:20:27,026 [main] INFO SettingsFactory : Optimize cache for minimal puts: disabled
              [deploypar] 10:20:27,026 [main] INFO SettingsFactory : Structured second-level cache entries: disabled
              [deploypar] 10:20:27,056 [main] INFO SettingsFactory : Echoing all SQL to stdout
              [deploypar] 10:20:27,056 [main] INFO SettingsFactory : Statistics: disabled
              [deploypar] 10:20:27,056 [main] INFO SettingsFactory : Deleted entity synthetic identifier rollback: disabled
              [deploypar] 10:20:27,066 [main] INFO SettingsFactory : Default entity-mode: POJO
              [deploypar] 10:20:27,817 [main] INFO SessionFactoryImpl : building session factory
              [deploypar] 10:20:28,789 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Node]; using defaults.
              [deploypar] 10:20:29,109 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults.
              [deploypar] 10:20:29,930 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults.
              [deploypar] 10:20:30,361 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults.
              [deploypar] 10:20:30,621 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.
              [deploypar] 10:20:30,651 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults.
              [deploypar] 10:20:32,073 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Action]; using defaults.
              [deploypar] 10:20:32,364 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Event]; using defaults.
              [deploypar] 10:20:32,684 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults.
              [deploypar] 10:20:33,365 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.graph.def.Transition]; using defaults.
              [deploypar] 10:20:34,016 [main] WARN EhCacheProvider : Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults.
              [deploypar] 10:20:35,138 [main] INFO SessionFactoryObjectFactory : Not binding factory to JNDI, no JNDI name configured
              [deploypar] 10:20:35,138 [main] INFO SessionFactoryImpl : Checking 0 named queries
              
              db.stop:
              
              BUILD SUCCESSFUL
              Total time: 23 seconds
              

              Thanks again. I'm hoping to show off to client how easy it is to add workflows, change existing workflows etc so I'm trying to really master the build and deploy process.

              • 4. Re: Could use some help with hot deploy
                davidsan1001

                Okay, I did a complete rebuild of the entire system and saw evidense of my new process, except it was version -1 which I guess means its invalid. I'll check it over.
                Also, what I posted earlier was my original working process not my new untested one. Here is my new processdefinition.xml

                <?xml version="1.0" encoding="UTF-8"?>
                
                <process-definition>
                 xmlns="http://jbpm.org/3/jpdl xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd"
                 name="EmailTimerProcess">
                 <swimlane name="compliance manager">
                 <assignment expression="user(Compliance Manager)"/>
                 </swimlane>
                 <start-state name="start">
                 <transition name="transition_1" to="StartTimer"></transition>
                 </start-state>
                
                 <task-node name="StartTimer">
                 <task swimlane="compliance manager">
                 <controller>
                 <variable name="Enter anything here, hit Save and Close to start timer" />
                 </controller>
                 <transition name="transition_to_task" to="EmailsUntilComplete"></transition>
                 </task>
                 </task-node>
                
                 <task-node name="EmailsUntilComplete">
                 <task swimlane="compliance manager">
                 <timer name='Email reminder'
                 duedate='30 seconds'
                 repeat='60 seconds' >
                 <action class='com.sample.actoin.EmailTimerActionHandler' />
                 </timer>
                 <controller>
                 <variable name="Quick! Complte the task before the timer goes off!!" />
                 </controller>
                 <transition name="transition_to_end" to="end1"></transition>
                 </task>
                 </task-node>
                 <end-state name="end1"></end-state>
                </process-definition>
                

                So I am guessing there is a problem with this.

                • 5. Re: Could use some help with hot deploy
                  davidsan1001

                  I can start a new post focusing on the simple workflow that has an email alert. This isn't really a deploy issue anymore. Why do you think this process definition is invalid?

                  Oh, and if I do move the thread I can title it something like "Problem sending email as timer alert action." Folks might find that interesting in itself and I can post of how I am trying to accomplish that.

                  <?xml version="1.0" encoding="UTF-8"?>
                  
                  <process-definition>
                   xmlns="http://jbpm.org/3/jpdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd"
                   name="EmailTimerProcess">
                  
                   <swimlane name="compliance manager">
                   <assignment expression="user(Compliance Manager)"/>
                   </swimlane>
                   <start-state name="Start Email Reminder">
                   <task swimlane="compliance manager">
                   <controller>
                   <variable name="anything_here" mapped-name="Hit Save and Close" />
                   </controller>
                   <transition name="transition_to_task" to="EmailsUntilComplete"></transition>
                   </task>
                   </start-state>
                  
                   <task-node name="EmailsUntilComplete">
                   <task swimlane="compliance manager">
                   <timer name='Email reminder'
                   duedate='30 seconds'
                   repeat='60 seconds' >
                   <action class='com.sample.action.EmailTimerActionHandler' />
                   </timer>
                   <controller>
                   <variable name="Quick! Complete the task before the timer goes off!!" />
                   </controller>
                   <transition name="transition_to_end" to="end1"></transition>
                   </task>
                   </task-node>
                   <end-state name="end1"></end-state>
                  </process-definition>
                  


                  • 6. Re: Could use some help with hot deploy
                    gwittwer

                     

                    "davidsan1001" wrote:
                    ... Why do you think this process definition is invalid? ...

                    
                    <?xml version="1.0" encoding="UTF-8"?>
                    
                    <process-definition>
                     xmlns="http://jbpm.org/3/jpdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd"
                     name="EmailTimerProcess">
                    ...
                    </process-definition>
                    


                    Remove the ">" after the opening process-definition tag (name is attribute of processdefinition tag).

                    Hope this helps.

                    Regards
                    Gerhard

                    • 7. Re: Could use some help with hot deploy
                      davidsan1001

                      That did help. The GPD "advised" me to put it there in the first place.

                      • 8. Re: Could use some help with hot deploy
                        koen.aers

                        Hm... Which version of the GPD are you using? I remember vaguely to have fixed this problem, but I am not sure anymore.

                        Regards,
                        Koen

                        • 9. Re: Could use some help with hot deploy
                          davidsan1001

                          It might be month or two old. I'm getting around this by stripping out the non-essentials in between the process-definition tags.

                          For me this issue has now moved on to actually getting the email sent from the action. I ended up scrapping this process definition and rebuilding one that worked. Must have been some issue with the original one.

                          Dave

                          • 10. Re: Could use some help with hot deploy
                            davidsan1001

                            It might be month or two old. I'm getting around this by stripping out the non-essentials in between the process-definition tags.

                            For me this issue has now moved on to actually getting the email sent from the action. I ended up scrapping this process definition and rebuilding one that worked. Must have been some issue with the original one.

                            Dave

                            • 11. Re: Could use some help with hot deploy
                              gwittwer

                              Hello

                              How did you realise/develop the "mailto" stuff?

                              Regards
                              Gerhard

                              • 12. Re: Could use some help with hot deploy
                                davidsan1001

                                I'm still working on sending JavaMail from an ActionHandler. Look out for new post on that.

                                • 13. Re: Could use some help with hot deploy
                                  kukeltje

                                  This should work.... not fully tested, slightly adapted (in the forum editor) from a working version.

                                  package com.sample.action;
                                  
                                  import org.apache.commons.logging.Log;
                                  import org.apache.commons.logging.LogFactory;
                                  
                                  import org.jbpm.graph.def.ActionHandler;
                                  import org.jbpm.graph.exe.ExecutionContext;
                                  
                                  import java.util.*;
                                  import java.io.*;
                                  import javax.mail.*;
                                  import javax.mail.internet.*;
                                  
                                  public class SendValidationEmail implements ActionHandler {
                                  
                                   /**
                                   * Logger for this class
                                   */
                                   private static final Log logger = LogFactory.getLog(SendValidationEmail.class);
                                  
                                   private static final long serialVersionUID = 1L;
                                  
                                   /**
                                   * The message member gets its value from the configuration in the
                                   * processdefinition. The value is injected directly by the engine.
                                   */
                                   String message;
                                  
                                   /**
                                   * A message process variable is assigned the value of the message member.
                                   * The process variable is created if it doesn't exist yet.
                                   */
                                   public void execute(ExecutionContext context) throws Exception {
                                  
                                  
                                   String mail = (String) context.getContextInstance().getVariable(
                                   "email-recipient");
                                   String subject = "Validation email";
                                   String sender = "me@mydomain.tld";
                                   String host = "smtp.mydomain.tld";
                                   send(host, 25, sender, mail, subject, message);
                                  
                                   }
                                  
                                   public void send(String smtpHost, int smtpPort, String from,
                                   String to, String subject, String content) throws AddressException,
                                   MessagingException {
                                  
                                   if (logger.isDebugEnabled()) {
                                   logger.debug("send(....) - start");
                                   }
                                  
                                   // Create a mail session
                                   java.util.Properties props = new java.util.Properties();
                                   props.put("mail.smtp.host", smtpHost);
                                   props.put("mail.smtp.port", "" + smtpPort);
                                   Session session = Session.getDefaultInstance(props, null);
                                  
                                   // Construct the message
                                   Message msg = new MimeMessage(session);
                                   msg.setFrom(new InternetAddress(from));
                                   msg.setRecipient(Message.RecipientType.TO, new InternetAddress(to));
                                   msg.setSubject(subject);
                                   msg.setText(content);
                                  
                                   // Send the message
                                   Transport.send(msg);
                                  
                                   if (logger.isDebugEnabled()) {
                                   logger.debug("send(....) - end");
                                   }
                                   }
                                  }
                                  


                                  • 14. Re: Could use some help with hot deploy
                                    davidsan1001

                                    I'm moving back over the my thread I started concerning JavaMail. Here is the link
                                    http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3906431

                                    1 2 Previous Next