7 Replies Latest reply on Oct 26, 2007 9:54 AM by shilpa.kumar1

    Please help - rollback with managed trasnactions

    mrudulam

      The situation I am breaking my head over is this - Assume there is a simple 3 node process. Each node has its own action handler. In the second action handler, I have an update to another database (other than the jbpm). In the 3rd action handler, there is an exception. I am trying to combine nodes 2 and 3 as part of one transaction. [I am **not** having code to leave the nodes withing action handler for testing purposes]

      I am using a servlet/stand alone program to instantiate the process, and using the javax.transaction.UserTransaction.begin() and commit() to demarcate transaction as show below and I am testing this out in WSAD.

      The transaction is managed beautifully - commits to jbpm database and the external database works fine, if there is no exception. However, if there is an exception (in the third actionhandler), the rollback of hte jbpm process takes place only by one node. It does not seem to conform to the begin/commit demarcations. The other rollback is fine.

      Can anyone tell me what is wrong with the code? Is there a wrong usage of save jbpmContext or close or anything else?

      Thanks for all your help

      package com.excercise.jbpm;
      
      public class JBPMTestServlet extends HttpServlet implements Servlet {
       private static JbpmConfiguration jbpmConfiguration =
       JbpmConfiguration.getInstance();
       private static final String USER_TRANSACTION_JNDI_NAME = "UserTransaction";
       private static long pid = 0L;
       private PrintWriter out = null;
       private Context ctx = null;
       private DataSource ds = null;
       private UserTransaction utx= null;
      
       public void doPost(HttpServletRequest req, HttpServletResponse resp)
       throws ServletException, IOException {
      
       resp.setContentType("text/html");
       out = resp.getWriter();
       ProcessInstance pInstance = null;
       ProcessDefinition pmpd = null;
       Token token = null;
       try {
       ctx = new InitialContext();
       } catch (NamingException e) {
       out.println("ERROR! Could not get Initial Context.");
       out.println("<br>" + e.getMessage() + "<br><pre>");
       e.printStackTrace(new PrintWriter(out));
       out.println("</pre>");
       }
      
       try
       {
       utx = (UserTransaction)
       ctx.lookup("java:comp/UserTransaction");
       System.out.println(utx);
       }
       catch (NamingException e) {
       out.println("ERROR! Could not get UserTransaction");
       out.println("<br>" + e.getMessage() + "<br><pre>");
       e.printStackTrace(new PrintWriter(out));
       out.println("</pre>");
       }
       if (ctx != null) {
       try {
       ds = (DataSource) ctx.lookup("jdbc/jbpm");
       } catch (NamingException e) {
       out.println("ERROR! Could not find DSN.");
       out.println("<br>" + e.getMessage() + "<br><pre>");
       e.printStackTrace(new PrintWriter(out));
       out.println("</pre>");
       }
       }
      
      // **************************** Creating Process Instance and signalling to node1 *****************
      *********** //
       JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
       Connection conn = null;
       try {
       utx.begin();
       conn = ds.getConnection();
       conn.setAutoCommit(true);
       jbpmContext.setConnection(conn);
       pmpd =
       jbpmContext.getGraphSession().findLatestProcessDefinition(
       "JustNodesProcess");
       pInstance = new ProcessInstance(pmpd);
       pid = pInstance.getId();
       token = pInstance.getRootToken();
       out.println(
       "Before signalling, the token is now at " + token.getNode() + "\n");
       token.signal();
       out.println(
       "After signalling, the token is now at " + token.getNode() + "\n");
       jbpmContext.save(pInstance);
       out.println("After saving...\n");
       utx.commit();
       } catch (Exception e) {
       e.printStackTrace();
       out.println(e.getMessage());
       try
       {
       utx.rollback();
       }
       catch (Exception ex)
       {
       ex.printStackTrace();
       }
       } finally {
       jbpmContext.getSession().flush();
       out.println("After flushin...\n");
       jbpmContext.close();
       out.println("After closing...\n");
      
       }
       // **************************** Signalling to node2 and node3 **************************** //
       /**
       * Note that node2 and node3 have been combined into one transaction.
       * Here we can give an exception in node3 and check if it rolls back to node2
       */
       jbpmContext = jbpmConfiguration.createJbpmContext();
       try {
       utx.begin();
       conn = ds.getConnection();
       jbpmContext.setConnection(conn);
       conn.setAutoCommit(true);
       GraphSession graphSession = jbpmContext.getGraphSession();
       pInstance = graphSession.loadProcessInstance(pid);
       pInstance.signal();
       pInstance.signal();
       jbpmContext.save(pInstance);
       utx.commit();
       } catch (Exception e) {
       e.printStackTrace();
       out.println(e.getMessage());
       try
       {
       utx.rollback();
       }
       catch (Exception ex)
       {
       ex.printStackTrace();
       }
       out.println("pInstance.hasEnded()" + pInstance.hasEnded());
       List list = pInstance.findAllTokens();
       out.println(
       "pInstance tokens size is "
       + list.size()
       + " token is "
       + ((Token) list.get(0)).getNode());
       return;
       } finally {
       jbpmContext.getSession().flush();
       jbpmContext.close();
       }
       // **************************** Signalling to End state **************************** //
       jbpmContext = jbpmConfiguration.createJbpmContext();
       try {
       utx.begin();
       conn = ds.getConnection();
       conn.setAutoCommit(true);
       jbpmContext.setConnection(conn);
       GraphSession graphSession = jbpmContext.getGraphSession();
       pInstance = graphSession.loadProcessInstance(pid);
       pInstance.signal();
       jbpmContext.save(pInstance);
       utx.commit();
       } catch (Exception e) {
       e.printStackTrace();
       out.println(e.getMessage());
       try
       {
       utx.rollback();
       }
       catch (Exception ex)
       {
       ex.printStackTrace();
       }
       return;
       } finally {
       jbpmContext.getSession().flush();
       jbpmContext.close();
       }
       return;
       }
      }
      


      JBPM configuration is
      <jbpm-configuration>
      
       <jbpm-context>
       <!-- <service name="persistence" factory="org.jbpm.persistence.db.DbPersistenceServiceFactory" /> -->
       <service name="persistence">
       <factory>
       <bean name="org.jbpm.persistence.db.DbPersistenceServiceFactory" class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
       <field name="isTransactionEnabled"><false /></field>
       </bean>
       </factory>
       </service>
       <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />
       <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
       <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
       <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
       </jbpm-context>
      
       <!-- configuration resource files pointing to default configuration files in jbpm-{version}.jar -->
       <string name="resource.hibernate.cfg.xml" value="hibernate.cfg.xml" />
       <!-- <string name="resource.hibernate.properties" value="hibernate.properties" /> -->
       <string name="resource.business.calendar" value="org/jbpm/calendar/jbpm.business.calendar.properties" />
       <string name="resource.default.modules" value="org/jbpm/graph/def/jbpm.default.modules.properties" />
       <string name="resource.converter" value="org/jbpm/db/hibernate/jbpm.converter.properties" />
       <string name="resource.action.types" value="org/jbpm/graph/action/action.types.xml" />
       <string name="resource.node.types" value="org/jbpm/graph/node/node.types.xml" />
       <string name="resource.parsers" value="org/jbpm/jpdl/par/jbpm.parsers.xml" />
       <string name="resource.varmapping" value="org/jbpm/context/exe/jbpm.varmapping.xml" />
      
       <bean name="jbpm.task.instance.factory" class="org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl" singleton="true" />
       <bean name="jbpm.variable.resolver" class="org.jbpm.jpdl.el.impl.JbpmVariableResolver" singleton="true" />
       <long name="jbpm.msg.wait.timout" value="5000" singleton="true" />
      
      </jbpm-configuration>
      


        • 1. Re: Please help - rollback with managed trasnactions

          Either I misunderstand the problem (likely!), or this is a cause:

          conn.setAutoCommit(true);


          -Ed Staub


          • 2. Re: Please help - rollback with managed trasnactions
            mrudulam

            Thanks for hte response Ed,

            I did try initially by setting the autoCommit to false. However I was forced to set it to true because of another exception occured - "Resource jdbc/jbpm rolled back in cleanup of unresolved ocalTransactionContainment." Per http://www-1.ibm.com/support/docview.wss?uid=swg21141640 and other sites - the solution was to setAutoCommit to true or close dangling connections. I tried - setting autocommit to false and closing connections. But the rollback happens by only one step.

            HOWEVER, since the update to the external db gets rolled back, I am not so sure that connection properties is the problem. I also tried going through the jbpm source code to understand the behaviour of roll back, suspecting that when rollback call is received, the jbpm might check which node the excpetion occured and set it back by one step...Is that a possibility? Anyone?

            Please also see log of test case when a) autocommit=true, b) connections are closed (c) exception occurs.

            [2/16/07 12:32:45:498 IST] 11856309 WebGroup I SRVE0180I: [JBPMTransTest] [/JBPMTransTest] [Servlet.LOG]: /TestTrans.jsp: init
            [2/16/07 12:32:53:263 IST] 6f97230a JbpmConfigura I org.jbpm.JbpmConfiguration using jbpm configuration resource 'jbpm.cfg.xml'
            [2/16/07 12:32:53:607 IST] 6f97230a WebGroup I SRVE0180I: [JBPMTransTest] [/JBPMTransTest] [Servlet.LOG]: JBPMTestServlet: init
            [2/16/07 12:32:53:732 IST] 6f97230a SystemOut O com.ibm.ws.Transaction.JTA.UserTransactionImpl@7b462307
            [2/16/07 12:32:53:873 IST] 6f97230a ConnectionFac I J2CA0122I: Resource reference jdbc/jbpm could not be located, so default values of the following are used: [Resource-ref settings]
            
             res-auth: 1 (APPLICATION)
             res-isolation-level: 0 (TRANSACTION_NONE)
             res-sharing-scope: true (SHAREABLE)
             res-resolution-control: 999 (undefined)
            [Other attributes]
            
            isCMP1_x: false (not CMP1.x)
            isJMS: false (not JMS)
            
            [2/16/07 12:32:54:201 IST] 6f97230a SystemOut O Auto Commit...............true
            [2/16/07 12:32:54:685 IST] 6f97230a Environment I org.hibernate.cfg.Environment Hibernate 3.1
            [2/16/07 12:32:54:716 IST] 6f97230a Environment I org.hibernate.cfg.Environment hibernate.properties not found
            [2/16/07 12:32:54:732 IST] 6f97230a Environment I org.hibernate.cfg.Environment using CGLIB reflection optimizer
            [2/16/07 12:32:54:732 IST] 6f97230a Environment I org.hibernate.cfg.Environment using JDK 1.4 java.sql.Timestamp handling
            [2/16/07 12:32:55:357 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration configuring from resource: hibernate.cfg.xml
            [2/16/07 12:32:55:357 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Configuration resource: hibernate.cfg.xml
            [2/16/07 12:32:59:029 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/action/Script.hbm.xml
            [2/16/07 12:33:00:498 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/db/hibernate.queries.hbm.xml
            [2/16/07 12:33:01:357 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/def/ProcessDefinition.hbm.xml
            [2/16/07 12:33:01:997 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION
            [2/16/07 12:33:03:701 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/def/Node.hbm.xml
            [2/16/07 12:33:03:716 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE
            [2/16/07 12:33:03:841 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/def/Transition.hbm.xml
            [2/16/07 12:33:03:857 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION
            [2/16/07 12:33:03:857 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/def/Event.hbm.xml
            [2/16/07 12:33:03:872 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.def.Event -> JBPM_EVENT
            [2/16/07 12:33:03:872 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/def/Action.hbm.xml
            [2/16/07 12:33:03:888 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.def.Action -> JBPM_ACTION
            [2/16/07 12:33:03:904 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/def/SuperState.hbm.xml
            [2/16/07 12:33:04:247 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.def.SuperState -> JBPM_NODE
            [2/16/07 12:33:04:247 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/def/ExceptionHandler.hbm.xml
            [2/16/07 12:33:04:263 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.def.ExceptionHandler -> JBPM_EXCEPTIONHANDLER
            [2/16/07 12:33:04:357 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/instantiation/Delegation.hbm.xml
            [2/16/07 12:33:04:372 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.instantiation.Delegation -> JBPM_DELEGATION
            [2/16/07 12:33:04:388 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/node/StartState.hbm.xml
            [2/16/07 12:33:04:388 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.node.StartState -> JBPM_NODE
            [2/16/07 12:33:04:404 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/node/EndState.hbm.xml
            [2/16/07 12:33:04:404 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.node.EndState -> JBPM_NODE
            [2/16/07 12:33:04:404 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/node/ProcessState.hbm.xml
            [2/16/07 12:33:04:451 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.node.ProcessState -> JBPM_NODE
            [2/16/07 12:33:04:451 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/node/Decision.hbm.xml
            [2/16/07 12:33:04:482 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.node.Decision -> JBPM_NODE
            [2/16/07 12:33:04:497 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.node.Decision.decisionConditions -> JBPM_DECISIONCONDITIONS
            [2/16/07 12:33:04:497 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/node/Fork.hbm.xml
            [2/16/07 12:33:04:513 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.node.Fork -> JBPM_NODE
            [2/16/07 12:33:04:513 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/node/Join.hbm.xml
            [2/16/07 12:33:04:529 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.node.Join -> JBPM_NODE
            [2/16/07 12:33:04:529 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/node/State.hbm.xml
            [2/16/07 12:33:04:638 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.node.State -> JBPM_NODE
            [2/16/07 12:33:04:638 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/node/TaskNode.hbm.xml
            [2/16/07 12:33:04:654 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.node.TaskNode -> JBPM_NODE
            [2/16/07 12:33:04:732 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/def/ContextDefinition.hbm.xml
            [2/16/07 12:33:04:747 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/def/VariableAccess.hbm.xml
            [2/16/07 12:33:04:763 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.context.def.VariableAccess -> JBPM_VARIABLEACCESS
            [2/16/07 12:33:04:763 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml
            [2/16/07 12:33:04:779 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/def/Swimlane.hbm.xml
            [2/16/07 12:33:04:794 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.taskmgmt.def.Swimlane -> JBPM_SWIMLANE
            [2/16/07 12:33:04:810 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/def/Task.hbm.xml
            [2/16/07 12:33:04:826 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.taskmgmt.def.Task -> JBPM_TASK
            [2/16/07 12:33:04:841 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/def/TaskController.hbm.xml
            [2/16/07 12:33:04:857 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.taskmgmt.def.TaskController -> JBPM_TASKCONTROLLER
            [2/16/07 12:33:04:857 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/module/def/ModuleDefinition.hbm.xml
            [2/16/07 12:33:04:872 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.module.def.ModuleDefinition -> JBPM_MODULEDEFINITION
            [2/16/07 12:33:04:872 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/bytes/ByteArray.hbm.xml
            [2/16/07 12:33:05:263 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.bytes.ByteArray -> JBPM_BYTEARRAY
            [2/16/07 12:33:05:263 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.bytes.ByteArray.byteBlocks -> JBPM_BYTEBLOCK
            [2/16/07 12:33:05:263 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/file/def/FileDefinition.hbm.xml
            [2/16/07 12:33:05:279 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.file.def.FileDefinition -> JBPM_MODULEDEFINITION
            [2/16/07 12:33:05:279 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/scheduler/def/CreateTimerAction.hbm.xml
            [2/16/07 12:33:05:294 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.scheduler.def.CreateTimerAction -> JBPM_ACTION
            [2/16/07 12:33:05:341 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/scheduler/def/CancelTimerAction.hbm.xml
            [2/16/07 12:33:05:357 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.scheduler.def.CancelTimerAction -> JBPM_ACTION
            [2/16/07 12:33:05:357 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/exe/Comment.hbm.xml
            [2/16/07 12:33:05:372 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.exe.Comment -> JBPM_COMMENT
            [2/16/07 12:33:05:388 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/exe/ProcessInstance.hbm.xml
            [2/16/07 12:33:05:669 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE
            [2/16/07 12:33:05:701 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/exe/Token.hbm.xml
            [2/16/07 12:33:05:716 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.exe.Token -> JBPM_TOKEN
            [2/16/07 12:33:05:841 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/exe/RuntimeAction.hbm.xml
            [2/16/07 12:33:05:857 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.graph.exe.RuntimeAction -> JBPM_RUNTIMEACTION
            [2/16/07 12:33:05:857 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/module/exe/ModuleInstance.hbm.xml
            [2/16/07 12:33:05:872 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.module.exe.ModuleInstance -> JBPM_MODULEINSTANCE
            [2/16/07 12:33:05:872 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/ContextInstance.hbm.xml
            [2/16/07 12:33:05:888 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.exe.ContextInstance -> JBPM_MODULEINSTANCE
            [2/16/07 12:33:05:888 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/TokenVariableMap.hbm.xml
            [2/16/07 12:33:05:904 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.context.exe.TokenVariableMap -> JBPM_TOKENVARIABLEMAP
            [2/16/07 12:33:05:935 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/VariableInstance.hbm.xml
            [2/16/07 12:33:05:982 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.context.exe.VariableInstance -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:05:997 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml
            [2/16/07 12:33:06:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.exe.variableinstance.ByteArrayInstance -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:06:013 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml
            [2/16/07 12:33:06:029 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.exe.variableinstance.DateInstance -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:06:029 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml
            [2/16/07 12:33:06:029 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.exe.variableinstance.DoubleInstance -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:06:029 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml
            [2/16/07 12:33:06:044 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateLongInstance -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:06:044 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml
            [2/16/07 12:33:06:060 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateStringInstance -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:06:060 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml
            [2/16/07 12:33:06:075 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.exe.variableinstance.LongInstance -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:06:075 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml
            [2/16/07 12:33:06:091 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.exe.variableinstance.NullInstance -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:06:091 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml
            [2/16/07 12:33:06:107 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.exe.variableinstance.StringInstance -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:06:107 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/msg/Message.hbm.xml
            [2/16/07 12:33:06:107 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.msg.Message -> JBPM_MESSAGE
            [2/16/07 12:33:06:122 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/msg/db/TextMessage.hbm.xml
            [2/16/07 12:33:06:122 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.msg.db.TextMessage -> JBPM_MESSAGE
            [2/16/07 12:33:06:138 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/command/ExecuteActionCommand.hbm.xml
            [2/16/07 12:33:06:154 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.command.ExecuteActionCommand -> JBPM_MESSAGE
            [2/16/07 12:33:06:154 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/command/ExecuteNodeCommand.hbm.xml
            [2/16/07 12:33:06:154 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.command.ExecuteNodeCommand -> JBPM_MESSAGE
            [2/16/07 12:33:06:154 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/command/SignalCommand.hbm.xml
            [2/16/07 12:33:06:216 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.command.SignalCommand -> JBPM_MESSAGE
            [2/16/07 12:33:06:216 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/command/TaskInstanceEndCommand.hbm.xml
            [2/16/07 12:33:06:232 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.command.TaskInstanceEndCommand -> JBPM_MESSAGE
            [2/16/07 12:33:06:232 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml
            [2/16/07 12:33:06:247 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.taskmgmt.exe.TaskMgmtInstance -> JBPM_MODULEINSTANCE
            [2/16/07 12:33:06:263 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml
            [2/16/07 12:33:06:279 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.taskmgmt.exe.TaskInstance -> JBPM_TASKINSTANCE
            [2/16/07 12:33:06:310 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.pooledActors -> JBPM_TASKACTORPOOL
            [2/16/07 12:33:06:310 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/exe/PooledActor.hbm.xml
            [2/16/07 12:33:06:325 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.taskmgmt.exe.PooledActor -> JBPM_POOLEDACTOR
            [2/16/07 12:33:06:325 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.exe.PooledActor.taskInstances -> JBPM_TASKACTORPOOL
            [2/16/07 12:33:06:325 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml
            [2/16/07 12:33:06:341 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.taskmgmt.exe.SwimlaneInstance -> JBPM_SWIMLANEINSTANCE
            [2/16/07 12:33:06:341 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/scheduler/exe/Timer.hbm.xml
            [2/16/07 12:33:06:357 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.scheduler.exe.Timer -> JBPM_TIMER
            [2/16/07 12:33:06:357 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/logging/log/ProcessLog.hbm.xml
            [2/16/07 12:33:06:372 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping class: org.jbpm.logging.log.ProcessLog -> JBPM_LOG
            [2/16/07 12:33:06:372 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/logging/log/MessageLog.hbm.xml
            [2/16/07 12:33:06:388 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.logging.log.MessageLog -> JBPM_LOG
            [2/16/07 12:33:06:388 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/logging/log/CompositeLog.hbm.xml
            [2/16/07 12:33:06:404 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.logging.log.CompositeLog -> JBPM_LOG
            [2/16/07 12:33:06:404 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/log/ActionLog.hbm.xml
            [2/16/07 12:33:06:435 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.log.ActionLog -> JBPM_LOG
            [2/16/07 12:33:06:435 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/log/NodeLog.hbm.xml
            [2/16/07 12:33:06:450 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.log.NodeLog -> JBPM_LOG
            [2/16/07 12:33:06:450 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml
            [2/16/07 12:33:06:466 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.log.ProcessInstanceCreateLog -> JBPM_LOG
            [2/16/07 12:33:06:466 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml
            [2/16/07 12:33:06:482 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.log.ProcessInstanceEndLog -> JBPM_LOG
            [2/16/07 12:33:06:513 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/log/SignalLog.hbm.xml
            [2/16/07 12:33:06:513 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.log.SignalLog -> JBPM_LOG
            [2/16/07 12:33:06:513 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/log/TokenCreateLog.hbm.xml
            [2/16/07 12:33:06:529 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.log.TokenCreateLog -> JBPM_LOG
            [2/16/07 12:33:06:529 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/log/TokenEndLog.hbm.xml
            [2/16/07 12:33:06:544 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.log.TokenEndLog -> JBPM_LOG
            [2/16/07 12:33:06:544 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/graph/log/TransitionLog.hbm.xml
            [2/16/07 12:33:06:560 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.log.TransitionLog -> JBPM_LOG
            [2/16/07 12:33:06:560 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/VariableLog.hbm.xml
            [2/16/07 12:33:06:560 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.VariableLog -> JBPM_LOG
            [2/16/07 12:33:06:575 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/VariableCreateLog.hbm.xml
            [2/16/07 12:33:06:575 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.VariableCreateLog -> JBPM_LOG
            [2/16/07 12:33:06:575 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/VariableDeleteLog.hbm.xml
            [2/16/07 12:33:06:591 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.VariableDeleteLog -> JBPM_LOG
            [2/16/07 12:33:06:591 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/VariableUpdateLog.hbm.xml
            [2/16/07 12:33:06:607 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.VariableUpdateLog -> JBPM_LOG
            [2/16/07 12:33:06:607 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml
            [2/16/07 12:33:06:622 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.variableinstance.ByteArrayUpdateLog -> JBPM_LOG
            [2/16/07 12:33:06:622 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml
            [2/16/07 12:33:06:638 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.variableinstance.DateUpdateLog -> JBPM_LOG
            [2/16/07 12:33:06:638 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml
            [2/16/07 12:33:06:654 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.variableinstance.DoubleUpdateLog -> JBPM_LOG
            [2/16/07 12:33:06:654 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml
            [2/16/07 12:33:06:669 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.variableinstance.HibernateLongUpdateLog -> JBPM_LOG
            [2/16/07 12:33:06:669 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml
            [2/16/07 12:33:06:669 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.variableinstance.HibernateStringUpdateLog -> JBPM_LOG
            [2/16/07 12:33:06:669 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml
            [2/16/07 12:33:06:685 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.variableinstance.LongUpdateLog -> JBPM_LOG
            [2/16/07 12:33:06:685 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml
            [2/16/07 12:33:06:700 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.log.variableinstance.StringUpdateLog -> JBPM_LOG
            [2/16/07 12:33:06:700 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/log/TaskLog.hbm.xml
            [2/16/07 12:33:06:716 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.taskmgmt.log.TaskLog -> JBPM_LOG
            [2/16/07 12:33:06:716 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml
            [2/16/07 12:33:06:732 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.taskmgmt.log.TaskCreateLog -> JBPM_LOG
            [2/16/07 12:33:06:732 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml
            [2/16/07 12:33:06:732 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.taskmgmt.log.TaskAssignLog -> JBPM_LOG
            [2/16/07 12:33:06:747 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml
            [2/16/07 12:33:06:747 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.taskmgmt.log.TaskEndLog -> JBPM_LOG
            [2/16/07 12:33:06:747 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml
            [2/16/07 12:33:06:763 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneLog -> JBPM_LOG
            [2/16/07 12:33:06:794 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml
            [2/16/07 12:33:06:810 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneCreateLog -> JBPM_LOG
            [2/16/07 12:33:06:810 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml
            [2/16/07 12:33:06:825 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneAssignLog -> JBPM_LOG
            [2/16/07 12:33:06:841 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration Configured SessionFactory: null
            [2/16/07 12:33:06:857 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration processing extends queue
            [2/16/07 12:33:06:857 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.context.def.ContextDefinition -> JBPM_MODULEDEFINITION
            [2/16/07 12:33:06:857 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.taskmgmt.def.TaskMgmtDefinition -> JBPM_MODULEDEFINITION
            [2/16/07 12:33:06:872 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping subclass: org.jbpm.graph.action.Script -> JBPM_ACTION
            [2/16/07 12:33:06:966 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration processing collection mappings
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.ProcessDefinition.events -> JBPM_EVENT
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.ProcessDefinition.nodes -> JBPM_NODE
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.ProcessDefinition.actions -> JBPM_ACTION
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.ProcessDefinition.definitions -> JBPM_MODULEDEFINITION
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.Node.events -> JBPM_EVENT
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.Node.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.Node.leavingTransitions -> JBPM_TRANSITION
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.Node.arrivingTransitions -> JBPM_TRANSITION
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.Transition.events -> JBPM_EVENT
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.Transition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
            [2/16/07 12:33:06:966 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.Event.actions -> JBPM_ACTION
            [2/16/07 12:33:06:982 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.SuperState.nodes -> JBPM_NODE
            [2/16/07 12:33:06:982 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.def.ExceptionHandler.actions -> JBPM_ACTION
            [2/16/07 12:33:06:982 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.node.ProcessState.variableAccesses -> JBPM_VARIABLEACCESS
            [2/16/07 12:33:06:982 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.node.TaskNode.tasks -> JBPM_TASK
            [2/16/07 12:33:06:982 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.def.Swimlane.tasks -> JBPM_TASK
            [2/16/07 12:33:06:982 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.def.Task.events -> JBPM_EVENT
            [2/16/07 12:33:06:982 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.def.Task.exceptionHandlers -> JBPM_EXCEPTIONHANDLER
            [2/16/07 12:33:06:982 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.def.TaskController.variableAccesses -> JBPM_VARIABLEACCESS
            [2/16/07 12:33:06:997 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.file.def.FileDefinition.processFiles -> JBPM_BYTEARRAY
            [2/16/07 12:33:06:997 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.exe.ProcessInstance.runtimeActions -> JBPM_RUNTIMEACTION
            [2/16/07 12:33:06:997 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.exe.ProcessInstance.instances -> JBPM_MODULEINSTANCE
            [2/16/07 12:33:06:997 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.exe.Token.children -> JBPM_TOKEN
            [2/16/07 12:33:06:997 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.exe.Token.comments -> JBPM_COMMENT
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.context.exe.ContextInstance.tokenVariableMaps -> JBPM_TOKENVARIABLEMAP
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.context.exe.TokenVariableMap.variableInstances -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.swimlaneInstances -> JBPM_SWIMLANEINSTANCE
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.taskInstances -> JBPM_TASKINSTANCE
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances -> JBPM_VARIABLEINSTANCE
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.comments -> JBPM_COMMENT
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.exe.SwimlaneInstance.pooledActors -> JBPM_POOLEDACTOR
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.logging.log.CompositeLog.children -> JBPM_LOG
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK
            [2/16/07 12:33:07:013 IST] 6f97230a HbmBinder I org.hibernate.cfg.HbmBinder Mapping collection: org.jbpm.graph.action.Script.variableAccesses -> JBPM_VARIABLEACCESS
            [2/16/07 12:33:07:013 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration processing association property references
            [2/16/07 12:33:07:029 IST] 6f97230a Configuration I org.hibernate.cfg.Configuration processing foreign key constraints
            [2/16/07 12:33:07:372 IST] 6f97230a UserSuppliedC W org.hibernate.connection.UserSuppliedConnectionProvider No connection properties specified - the user must supply JDBC connections
            [2/16/07 12:33:07:982 IST] 6f97230a Dialect I org.hibernate.dialect.Dialect Using dialect: org.hibernate.dialect.MySQLDialect
            [2/16/07 12:33:08:075 IST] 6f97230a TransactionFa I org.hibernate.transaction.TransactionFactoryFactory Using default transaction strategy (direct JDBC transactions)
            [2/16/07 12:33:08:091 IST] 6f97230a TransactionMa I org.hibernate.transaction.TransactionManagerLookupFactory No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
            [2/16/07 12:33:08:091 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Automatic flush during beforeCompletion(): disabled
            [2/16/07 12:33:08:091 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Automatic session close at end of transaction: disabled
            [2/16/07 12:33:08:107 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Scrollable result sets: disabled
            [2/16/07 12:33:08:107 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory JDBC3 getGeneratedKeys(): disabled
            [2/16/07 12:33:08:107 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Connection release mode: auto
            [2/16/07 12:33:08:122 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Maximum outer join fetch depth: 2
            [2/16/07 12:33:08:122 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Default batch fetch size: 1
            [2/16/07 12:33:08:122 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Generate SQL with comments: disabled
            [2/16/07 12:33:08:122 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Order SQL updates by primary key: disabled
            [2/16/07 12:33:08:122 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
            [2/16/07 12:33:08:169 IST] 6f97230a ASTQueryTrans I org.hibernate.hql.ast.ASTQueryTranslatorFactory Using ASTQueryTranslatorFactory
            [2/16/07 12:33:08:169 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Query language substitutions: {}
            [2/16/07 12:33:08:169 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Second-level cache: enabled
            [2/16/07 12:33:08:169 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Query cache: disabled
            [2/16/07 12:33:08:169 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Cache provider: org.hibernate.cache.EhCacheProvider
            [2/16/07 12:33:08:216 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Optimize cache for minimal puts: disabled
            [2/16/07 12:33:08:216 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Structured second-level cache entries: disabled
            [2/16/07 12:33:08:263 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Echoing all SQL to stdout
            [2/16/07 12:33:08:263 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Statistics: disabled
            [2/16/07 12:33:08:263 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Deleted entity synthetic identifier rollback: disabled
            [2/16/07 12:33:08:263 IST] 6f97230a SettingsFacto I org.hibernate.cfg.SettingsFactory Default entity-mode: pojo
            [2/16/07 12:33:08:841 IST] 6f97230a SessionFactor I org.hibernate.impl.SessionFactoryImpl building session factory
            [2/16/07 12:33:08:919 IST] 6f97230a Configurator W net.sf.ehcache.config.Configurator No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: wsjar:file:/D:/IBM/workspace/JBPMTransTest/WebContent/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
            [2/16/07 12:33:10:403 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Node]; using defaults.
            [2/16/07 12:33:11:216 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults.
            [2/16/07 12:33:13:669 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults.
            [2/16/07 12:33:14:013 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults.
            [2/16/07 12:33:14:247 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.
            [2/16/07 12:33:14:341 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults.
            [2/16/07 12:33:15:919 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Action]; using defaults.
            [2/16/07 12:33:16:185 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Event]; using defaults.
            [2/16/07 12:33:16:997 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults.
            [2/16/07 12:33:17:872 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Transition]; using defaults.
            [2/16/07 12:33:18:622 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults.
            [2/16/07 12:33:19:700 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults.
            [2/16/07 12:33:20:075 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using defaults.
            [2/16/07 12:33:20:169 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults.
            [2/16/07 12:33:20:341 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.
            [2/16/07 12:33:20:403 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults.
            [2/16/07 12:33:20:513 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using defaults.
            [2/16/07 12:33:20:544 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.node.Decision.decisionConditions]; using defaults.
            [2/16/07 12:33:20:606 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using defaults.
            [2/16/07 12:33:20:606 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.file.def.FileDefinition.processFiles]; using defaults.
            [2/16/07 12:33:20:669 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; using defaults.
            [2/16/07 12:33:20:809 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using defaults.
            [2/16/07 12:33:21:013 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults.
            [2/16/07 12:33:21:169 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.node.TaskNode.tasks]; using defaults.
            [2/16/07 12:33:21:278 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Node.arrivingTransitions]; using defaults.
            [2/16/07 12:33:21:309 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.ProcessDefinition.definitions]; using defaults.
            [2/16/07 12:33:21:388 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Event.actions]; using defaults.
            [2/16/07 12:33:21:450 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.taskmgmt.def.Task.events]; using defaults.
            [2/16/07 12:33:21:466 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Node.events]; using defaults.
            [2/16/07 12:33:21:669 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes]; using defaults.
            [2/16/07 12:33:21:684 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.SuperState.nodes]; using defaults.
            [2/16/07 12:33:21:700 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.action.Script.variableAccesses]; using defaults.
            [2/16/07 12:33:21:794 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.ExceptionHandler.actions]; using defaults.
            [2/16/07 12:33:21:841 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using defaults.
            [2/16/07 12:33:21:872 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Node.exceptionHandlers]; using defaults.
            [2/16/07 12:33:21:934 IST] 6f97230a EhCacheProvid W org.hibernate.cache.EhCacheProvider Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults.
            [2/16/07 12:33:23:966 IST] 6f97230a SessionFactor I org.hibernate.impl.SessionFactoryObjectFactory Not binding factory to JNDI, no JNDI name configured
            [2/16/07 12:33:23:966 IST] 6f97230a SessionFactor I org.hibernate.impl.SessionFactoryImpl Checking 25 named HQL queries
            [2/16/07 12:33:28:325 IST] 6f97230a SessionFactor I org.hibernate.impl.SessionFactoryImpl Checking 0 named SQL queries
            [2/16/07 12:33:29:418 IST] 6f97230a SystemOut O Hibernate: select processdef0_.ID_ as ID1_0_, processdef0_.NAME_ as NAME2_0_, processdef0_.VERSION_ as VERSION3_0_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_0_, processdef0_.STARTSTATE_ as STARTSTATE5_0_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc limit ?
            [2/16/07 12:33:29:418 IST] 6f97230a SystemErr R Fri Feb 16 12:33:29 IST 2007 DEBUG: Executing XA statement: XA START 0x00000000000000b9000000131a05ed61cda62a315a206e23fdc2b36e3bd53ed873657276657231,0x1a05ed61cda62a315a206e23fdc2b36e3bd53ed80000001301e30f58,0x57415344
            [2/16/07 12:33:32:997 IST] 6f97230a SystemOut O Hibernate: insert into JBPM_TOKEN (VERSION_, NAME_, START_, END_, NODEENTER_, NEXTLOGINDEX_, ISABLETOREACTIVATEPARENT_, ISTERMINATIONIMPLICIT_, ISSUSPENDED_, NODE_, PROCESSINSTANCE_, PARENT_, SUBPROCESSINSTANCE_) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
            [2/16/07 12:33:33:481 IST] 6f97230a SystemOut O Hibernate: select last_insert_id()
            [2/16/07 12:33:33:778 IST] 6f97230a SystemOut O Hibernate: insert into JBPM_PROCESSINSTANCE (VERSION_, START_, END_, ISSUSPENDED_, PROCESSDEFINITION_, ROOTTOKEN_, SUPERPROCESSTOKEN_) values (?, ?, ?, ?, ?, ?, ?)
            [2/16/07 12:33:34:387 IST] 6f97230a SystemOut O Hibernate: select last_insert_id()
            [2/16/07 12:33:34:434 IST] 6f97230a SystemOut O Hibernate: select definition0_.PROCESSDEFINITION_ as PROCESSD4_1_, definition0_.ID_ as ID1_1_, definition0_.NAME_ as NAME3_1_, definition0_.ID_ as ID1_12_0_, definition0_.NAME_ as NAME3_12_0_, definition0_.PROCESSDEFINITION_ as PROCESSD4_12_0_, definition0_.STARTTASK_ as STARTTASK5_12_0_, definition0_.CLASS_ as CLASS2_12_0_ from JBPM_MODULEDEFINITION definition0_ where definition0_.PROCESSDEFINITION_=?
            [2/16/07 12:33:35:450 IST] 6f97230a SystemOut O Hibernate: select events0_.PROCESSDEFINITION_ as PROCESSD5_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, events0_.ID_ as ID1_3_0_, events0_.EVENTTYPE_ as EVENTTYPE2_3_0_, events0_.TYPE_ as TYPE3_3_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EVENT events0_ where events0_.PROCESSDEFINITION_=?
            [2/16/07 12:33:35:512 IST] 6f97230a SystemOut O Hibernate: select startstate0_.ID_ as ID1_1_0_, startstate0_.NAME_ as NAME3_1_0_, startstate0_.PROCESSDEFINITION_ as PROCESSD4_1_0_, startstate0_.ISASYNC_ as ISASYNC5_1_0_, startstate0_.ACTION_ as ACTION6_1_0_, startstate0_.SUPERSTATE_ as SUPERSTATE7_1_0_ from JBPM_NODE startstate0_ where startstate0_.ID_=? and startstate0_.CLASS_='R'
            [2/16/07 12:33:35:621 IST] 6f97230a SystemOut O Hibernate: select leavingtra0_.FROM_ as FROM4_1_, leavingtra0_.ID_ as ID1_1_, leavingtra0_.FROMINDEX_ as FROMINDEX6_1_, leavingtra0_.ID_ as ID1_2_0_, leavingtra0_.NAME_ as NAME2_2_0_, leavingtra0_.PROCESSDEFINITION_ as PROCESSD3_2_0_, leavingtra0_.FROM_ as FROM4_2_0_, leavingtra0_.TO_ as TO5_2_0_ from JBPM_TRANSITION leavingtra0_ where leavingtra0_.FROM_=?
            [2/16/07 12:33:35:840 IST] 6f97230a SystemOut O Hibernate: select events0_.NODE_ as NODE6_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, events0_.ID_ as ID1_3_0_, events0_.EVENTTYPE_ as EVENTTYPE2_3_0_, events0_.TYPE_ as TYPE3_3_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EVENT events0_ where events0_.NODE_=?
            [2/16/07 12:33:35:871 IST] 6f97230a SystemOut O Hibernate: select events0_.TRANSITION_ as TRANSITION7_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, events0_.ID_ as ID1_3_0_, events0_.EVENTTYPE_ as EVENTTYPE2_3_0_, events0_.TYPE_ as TYPE3_3_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EVENT events0_ where events0_.TRANSITION_=?
            [2/16/07 12:33:35:950 IST] 6f97230a SystemOut O Hibernate: select node0_.ID_ as ID1_1_0_, node0_.NAME_ as NAME3_1_0_, node0_.PROCESSDEFINITION_ as PROCESSD4_1_0_, node0_.ISASYNC_ as ISASYNC5_1_0_, node0_.ACTION_ as ACTION6_1_0_, node0_.SUPERSTATE_ as SUPERSTATE7_1_0_, node0_.SUBPROCESSDEFINITION_ as SUBPROCE8_1_0_, node0_.DECISIONEXPRESSION_ as DECISION9_1_0_, node0_.DECISIONDELEGATION as DECISIO10_1_0_, node0_.SIGNAL_ as SIGNAL11_1_0_, node0_.CREATETASKS_ as CREATET12_1_0_, node0_.ENDTASKS_ as ENDTASKS13_1_0_, node0_.CLASS_ as CLASS2_1_0_ from JBPM_NODE node0_ where node0_.ID_=?
            [2/16/07 12:33:35:996 IST] 6f97230a SystemOut O Hibernate: select events0_.NODE_ as NODE6_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, events0_.ID_ as ID1_3_0_, events0_.EVENTTYPE_ as EVENTTYPE2_3_0_, events0_.TYPE_ as TYPE3_3_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EVENT events0_ where events0_.NODE_=?
            [2/16/07 12:33:36:012 IST] 6f97230a SystemOut O Hibernate: select action0_.ID_ as ID1_4_0_, action0_.NAME_ as NAME3_4_0_, action0_.ISPROPAGATIONALLOWED_ as ISPROPAG4_4_0_, action0_.ACTIONEXPRESSION_ as ACTIONEX5_4_0_, action0_.ISASYNC_ as ISASYNC6_4_0_, action0_.REFERENCEDACTION_ as REFERENC7_4_0_, action0_.ACTIONDELEGATION_ as ACTIONDE8_4_0_, action0_.EVENT_ as EVENT9_4_0_, action0_.PROCESSDEFINITION_ as PROCESS10_4_0_, action0_.TIMERNAME_ as TIMERNAME11_4_0_, action0_.DUEDATE_ as DUEDATE12_4_0_, action0_.REPEAT_ as REPEAT13_4_0_, action0_.TRANSITIONNAME_ as TRANSIT14_4_0_, action0_.TIMERACTION_ as TIMERAC15_4_0_, action0_.EXPRESSION_ as EXPRESSION16_4_0_, action0_.class as class4_0_ from JBPM_ACTION action0_ where action0_.ID_=?
            [2/16/07 12:33:36:090 IST] 6f97230a SystemOut O Hibernate: select delegation0_.ID_ as ID1_6_0_, delegation0_.CLASSNAME_ as CLASSNAME2_6_0_, delegation0_.CONFIGURATION_ as CONFIGUR3_6_0_, delegation0_.CONFIGTYPE_ as CONFIGTYPE4_6_0_, delegation0_.PROCESSDEFINITION_ as PROCESSD5_6_0_ from JBPM_DELEGATION delegation0_ where delegation0_.ID_=?
            [2/16/07 12:33:36:325 IST] 6f97230a SystemOut O **** In start of First Action Handler ****
            [2/16/07 12:33:36:325 IST] 6f97230a SystemOut O **** In end of First Action Handler ****
            [2/16/07 12:33:36:340 IST] 6f97230a SystemOut O Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, CLASS_) values (?, ?, ?, ?, 'I')
            [2/16/07 12:33:36:512 IST] 6f97230a SystemOut O Hibernate: select last_insert_id()
            [2/16/07 12:33:36:746 IST] 6f97230a SystemOut O Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, TRANSITION_, CLASS_) values (?, ?, ?, ?, ?, 'S')
            [2/16/07 12:33:36:809 IST] 6f97230a SystemOut O Hibernate: select last_insert_id()
            [2/16/07 12:33:36:856 IST] 6f97230a SystemOut O Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, TRANSITION_, SOURCENODE_, DESTINATIONNODE_, CLASS_) values (?, ?, ?, ?, ?, ?, ?, 'T')
            [2/16/07 12:33:36:918 IST] 6f97230a SystemOut O Hibernate: select last_insert_id()
            [2/16/07 12:33:36:918 IST] 6f97230a SystemOut O 1st transaction committed fine...
            [2/16/07 12:33:36:918 IST] 6f97230a SystemErr R Fri Feb 16 12:33:36 IST 2007 DEBUG: Executing XA statement: XA END 0x00000000000000b9000000131a05ed61cda62a315a206e23fdc2b36e3bd53ed873657276657231,0x1a05ed61cda62a315a206e23fdc2b36e3bd53ed80000001301e30f58,0x57415344
            [2/16/07 12:33:36:918 IST] 6f97230a SystemErr R Fri Feb 16 12:33:36 IST 2007 DEBUG: Executing XA statement: XA COMMIT 0x00000000000000b9000000131a05ed61cda62a315a206e23fdc2b36e3bd53ed873657276657231,0x1a05ed61cda62a315a206e23fdc2b36e3bd53ed80000001301e30f58,0x57415344 ONE PHASE
            [2/16/07 12:33:37:012 IST] 6f97230a SystemOut O Hibernate: insert into JBPM_MODULEINSTANCE (PROCESSINSTANCE_, TASKMGMTDEFINITION_, CLASS_) values (?, ?, 'T')
            [2/16/07 12:33:37:184 IST] 6f97230a SystemOut O Hibernate: select last_insert_id()
            [2/16/07 12:33:37:184 IST] 6f97230a SystemOut O Hibernate: insert into JBPM_MODULEINSTANCE (PROCESSINSTANCE_, CLASS_) values (?, 'C')
            [2/16/07 12:33:37:324 IST] 6f97230a SystemOut O Hibernate: select last_insert_id()
            [2/16/07 12:33:37:449 IST] 6f97230a SystemOut O Hibernate: update JBPM_TOKEN set VERSION_=?, NAME_=?, START_=?, END_=?, NODEENTER_=?, NEXTLOGINDEX_=?, ISABLETOREACTIVATEPARENT_=?, ISTERMINATIONIMPLICIT_=?, ISSUSPENDED_=?, NODE_=?, PROCESSINSTANCE_=?, PARENT_=?, SUBPROCESSINSTANCE_=? where ID_=? and VERSION_=?
            [2/16/07 12:33:37:965 IST] 6f97230a SystemOut O Hibernate: update JBPM_PROCESSINSTANCE set VERSION_=?, START_=?, END_=?, ISSUSPENDED_=?, PROCESSDEFINITION_=?, ROOTTOKEN_=?, SUPERPROCESSTOKEN_=? where ID_=? and VERSION_=?
            [2/16/07 12:33:38:074 IST] 6f97230a SystemOut O Hibernate: update JBPM_MODULEINSTANCE set PROCESSINSTANCE_=?, NAME_=? where ID_=?
            [2/16/07 12:33:38:184 IST] 6f97230a SystemOut O Hibernate: update JBPM_MODULEINSTANCE set PROCESSINSTANCE_=?, NAME_=? where ID_=?
            [2/16/07 12:33:38:356 IST] 6f97230a SystemOut O Hibernate: select processins0_.ID_ as ID1_16_0_, processins0_.VERSION_ as VERSION2_16_0_, processins0_.START_ as START3_16_0_, processins0_.END_ as END4_16_0_, processins0_.ISSUSPENDED_ as ISSUSPEN5_16_0_, processins0_.PROCESSDEFINITION_ as PROCESSD6_16_0_, processins0_.ROOTTOKEN_ as ROOTTOKEN7_16_0_, processins0_.SUPERPROCESSTOKEN_ as SUPERPRO8_16_0_ from JBPM_PROCESSINSTANCE processins0_ where processins0_.ID_=?
            [2/16/07 12:33:38:356 IST] 6f97230a SystemErr R Fri Feb 16 12:33:38 IST 2007 DEBUG: Executing XA statement: XA START 0x00000000000000bf000000131a05ed61cda62a315a206e23fdc2b36e3bd53ed873657276657231,0x1a05ed61cda62a315a206e23fdc2b36e3bd53ed80000001301e30f58,0x57415344
            [2/16/07 12:33:38:512 IST] 6f97230a SystemOut O Hibernate: select token0_.ID_ as ID1_17_0_, token0_.VERSION_ as VERSION2_17_0_, token0_.NAME_ as NAME3_17_0_, token0_.START_ as START4_17_0_, token0_.END_ as END5_17_0_, token0_.NODEENTER_ as NODEENTER6_17_0_, token0_.NEXTLOGINDEX_ as NEXTLOGI7_17_0_, token0_.ISABLETOREACTIVATEPARENT_ as ISABLETO8_17_0_, token0_.ISTERMINATIONIMPLICIT_ as ISTERMIN9_17_0_, token0_.ISSUSPENDED_ as ISSUSPE10_17_0_, token0_.NODE_ as NODE11_17_0_, token0_.PROCESSINSTANCE_ as PROCESS12_17_0_, token0_.PARENT_ as PARENT13_17_0_, token0_.SUBPROCESSINSTANCE_ as SUBPROC14_17_0_ from JBPM_TOKEN token0_ where token0_.ID_=?
            [2/16/07 12:33:38:543 IST] 6f97230a SystemOut O Hibernate: select leavingtra0_.FROM_ as FROM4_1_, leavingtra0_.ID_ as ID1_1_, leavingtra0_.FROMINDEX_ as FROMINDEX6_1_, leavingtra0_.ID_ as ID1_2_0_, leavingtra0_.NAME_ as NAME2_2_0_, leavingtra0_.PROCESSDEFINITION_ as PROCESSD3_2_0_, leavingtra0_.FROM_ as FROM4_2_0_, leavingtra0_.TO_ as TO5_2_0_ from JBPM_TRANSITION leavingtra0_ where leavingtra0_.FROM_=?
            [2/16/07 12:33:38:559 IST] 6f97230a SystemOut O Hibernate: select instances0_.PROCESSINSTANCE_ as PROCESSI3_1_, instances0_.ID_ as ID1_1_, instances0_.NAME_ as NAME5_1_, instances0_.ID_ as ID1_19_0_, instances0_.PROCESSINSTANCE_ as PROCESSI3_19_0_, instances0_.TASKMGMTDEFINITION_ as TASKMGMT4_19_0_, instances0_.CLASS_ as CLASS2_19_0_ from JBPM_MODULEINSTANCE instances0_ where instances0_.PROCESSINSTANCE_=?
            [2/16/07 12:33:38:590 IST] 6f97230a SystemOut O Hibernate: select runtimeact0_.PROCESSINSTANCE_ as PROCESSI6_1_, runtimeact0_.ID_ as ID1_1_, runtimeact0_.PROCESSINSTANCEINDEX_ as PROCESSI8_1_, runtimeact0_.ID_ as ID1_18_0_, runtimeact0_.VERSION_ as VERSION2_18_0_, runtimeact0_.EVENTTYPE_ as EVENTTYPE3_18_0_, runtimeact0_.TYPE_ as TYPE4_18_0_, runtimeact0_.GRAPHELEMENT_ as GRAPHELE5_18_0_, runtimeact0_.PROCESSINSTANCE_ as PROCESSI6_18_0_, runtimeact0_.ACTION_ as ACTION7_18_0_ from JBPM_RUNTIMEACTION runtimeact0_ where runtimeact0_.PROCESSINSTANCE_=?
            [2/16/07 12:33:38:590 IST] 6f97230a SystemOut O Hibernate: select events0_.TRANSITION_ as TRANSITION7_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, events0_.ID_ as ID1_3_0_, events0_.EVENTTYPE_ as EVENTTYPE2_3_0_, events0_.TYPE_ as TYPE3_3_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EVENT events0_ where events0_.TRANSITION_=?
            [2/16/07 12:33:38:606 IST] 6f97230a SystemOut O Hibernate: select node0_.ID_ as ID1_1_0_, node0_.NAME_ as NAME3_1_0_, node0_.PROCESSDEFINITION_ as PROCESSD4_1_0_, node0_.ISASYNC_ as ISASYNC5_1_0_, node0_.ACTION_ as ACTION6_1_0_, node0_.SUPERSTATE_ as SUPERSTATE7_1_0_, node0_.SUBPROCESSDEFINITION_ as SUBPROCE8_1_0_, node0_.DECISIONEXPRESSION_ as DECISION9_1_0_, node0_.DECISIONDELEGATION as DECISIO10_1_0_, node0_.SIGNAL_ as SIGNAL11_1_0_, node0_.CREATETASKS_ as CREATET12_1_0_, node0_.ENDTASKS_ as ENDTASKS13_1_0_, node0_.CLASS_ as CLASS2_1_0_ from JBPM_NODE node0_ where node0_.ID_=?
            [2/16/07 12:33:38:606 IST] 6f97230a SystemOut O Hibernate: select events0_.NODE_ as NODE6_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, events0_.ID_ as ID1_3_0_, events0_.EVENTTYPE_ as EVENTTYPE2_3_0_, events0_.TYPE_ as TYPE3_3_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EVENT events0_ where events0_.NODE_=?
            [2/16/07 12:33:38:606 IST] 6f97230a SystemOut O Hibernate: select action0_.ID_ as ID1_4_0_, action0_.NAME_ as NAME3_4_0_, action0_.ISPROPAGATIONALLOWED_ as ISPROPAG4_4_0_, action0_.ACTIONEXPRESSION_ as ACTIONEX5_4_0_, action0_.ISASYNC_ as ISASYNC6_4_0_, action0_.REFERENCEDACTION_ as REFERENC7_4_0_, action0_.ACTIONDELEGATION_ as ACTIONDE8_4_0_, action0_.EVENT_ as EVENT9_4_0_, action0_.PROCESSDEFINITION_ as PROCESS10_4_0_, action0_.TIMERNAME_ as TIMERNAME11_4_0_, action0_.DUEDATE_ as DUEDATE12_4_0_, action0_.REPEAT_ as REPEAT13_4_0_, action0_.TRANSITIONNAME_ as TRANSIT14_4_0_, action0_.TIMERACTION_ as TIMERAC15_4_0_, action0_.EXPRESSION_ as EXPRESSION16_4_0_, action0_.class as class4_0_ from JBPM_ACTION action0_ where action0_.ID_=?
            [2/16/07 12:33:38:621 IST] 6f97230a SystemOut O Hibernate: select delegation0_.ID_ as ID1_6_0_, delegation0_.CLASSNAME_ as CLASSNAME2_6_0_, delegation0_.CONFIGURATION_ as CONFIGUR3_6_0_, delegation0_.CONFIGTYPE_ as CONFIGTYPE4_6_0_, delegation0_.PROCESSDEFINITION_ as PROCESSD5_6_0_ from JBPM_DELEGATION delegation0_ where delegation0_.ID_=?
            [2/16/07 12:33:38:746 IST] 6f97230a SystemOut O ********** In the second asdfsadf Action Handler**********
            [2/16/07 12:33:38:746 IST] 6f97230a ConnectionFac I J2CA0122I: Resource reference jdbc/javatest could not be located, so default values of the following are used: [Resource-ref settings]
            
             res-auth: 1 (APPLICATION)
             res-isolation-level: 0 (TRANSACTION_NONE)
             res-sharing-scope: true (SHAREABLE)
             res-resolution-control: 999 (undefined)
            [Other attributes]
            
            isCMP1_x: false (not CMP1.x)
            isJMS: false (not JMS)
            
            [2/16/07 12:33:38:746 IST] 6f97230a SystemErr R Fri Feb 16 12:33:38 IST 2007 DEBUG: Executing XA statement: XA START 0x00000000000000bf000000131a05ed61cda62a315a206e23fdc2b36e3bd53ed873657276657231,0x1a05ed61cda62a315a206e23fdc2b36e3bd53ed80000001324e3de5a,0x57415344
            [2/16/07 12:33:38:778 IST] 6f97230a SystemOut O result is 1
            [2/16/07 12:33:38:778 IST] 6f97230a SystemOut O ***********End of second Action Handler **********
            [2/16/07 12:33:38:778 IST] 6f97230a SystemOut O Hibernate: select leavingtra0_.FROM_ as FROM4_1_, leavingtra0_.ID_ as ID1_1_, leavingtra0_.FROMINDEX_ as FROMINDEX6_1_, leavingtra0_.ID_ as ID1_2_0_, leavingtra0_.NAME_ as NAME2_2_0_, leavingtra0_.PROCESSDEFINITION_ as PROCESSD3_2_0_, leavingtra0_.FROM_ as FROM4_2_0_, leavingtra0_.TO_ as TO5_2_0_ from JBPM_TRANSITION leavingtra0_ where leavingtra0_.FROM_=?
            [2/16/07 12:33:38:793 IST] 6f97230a SystemOut O Hibernate: select events0_.TRANSITION_ as TRANSITION7_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, events0_.ID_ as ID1_3_0_, events0_.EVENTTYPE_ as EVENTTYPE2_3_0_, events0_.TYPE_ as TYPE3_3_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EVENT events0_ where events0_.TRANSITION_=?
            [2/16/07 12:33:38:793 IST] 6f97230a SystemOut O Hibernate: select node0_.ID_ as ID1_1_0_, node0_.NAME_ as NAME3_1_0_, node0_.PROCESSDEFINITION_ as PROCESSD4_1_0_, node0_.ISASYNC_ as ISASYNC5_1_0_, node0_.ACTION_ as ACTION6_1_0_, node0_.SUPERSTATE_ as SUPERSTATE7_1_0_, node0_.SUBPROCESSDEFINITION_ as SUBPROCE8_1_0_, node0_.DECISIONEXPRESSION_ as DECISION9_1_0_, node0_.DECISIONDELEGATION as DECISIO10_1_0_, node0_.SIGNAL_ as SIGNAL11_1_0_, node0_.CREATETASKS_ as CREATET12_1_0_, node0_.ENDTASKS_ as ENDTASKS13_1_0_, node0_.CLASS_ as CLASS2_1_0_ from JBPM_NODE node0_ where node0_.ID_=?
            [2/16/07 12:33:38:793 IST] 6f97230a SystemOut O Hibernate: select events0_.NODE_ as NODE6_1_, events0_.ID_ as ID1_1_, events0_.EVENTTYPE_ as EVENTTYPE2_1_, events0_.ID_ as ID1_3_0_, events0_.EVENTTYPE_ as EVENTTYPE2_3_0_, events0_.TYPE_ as TYPE3_3_0_, events0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EVENT events0_ where events0_.NODE_=?
            [2/16/07 12:33:38:840 IST] 6f97230a SystemOut O Hibernate: select action0_.ID_ as ID1_4_0_, action0_.NAME_ as NAME3_4_0_, action0_.ISPROPAGATIONALLOWED_ as ISPROPAG4_4_0_, action0_.ACTIONEXPRESSION_ as ACTIONEX5_4_0_, action0_.ISASYNC_ as ISASYNC6_4_0_, action0_.REFERENCEDACTION_ as REFERENC7_4_0_, action0_.ACTIONDELEGATION_ as ACTIONDE8_4_0_, action0_.EVENT_ as EVENT9_4_0_, action0_.PROCESSDEFINITION_ as PROCESS10_4_0_, action0_.TIMERNAME_ as TIMERNAME11_4_0_, action0_.DUEDATE_ as DUEDATE12_4_0_, action0_.REPEAT_ as REPEAT13_4_0_, action0_.TRANSITIONNAME_ as TRANSIT14_4_0_, action0_.TIMERACTION_ as TIMERAC15_4_0_, action0_.EXPRESSION_ as EXPRESSION16_4_0_, action0_.class as class4_0_ from JBPM_ACTION action0_ where action0_.ID_=?
            [2/16/07 12:33:38:840 IST] 6f97230a SystemOut O Hibernate: select delegation0_.ID_ as ID1_6_0_, delegation0_.CLASSNAME_ as CLASSNAME2_6_0_, delegation0_.CONFIGURATION_ as CONFIGUR3_6_0_, delegation0_.CONFIGTYPE_ as CONFIGTYPE4_6_0_, delegation0_.PROCESSDEFINITION_ as PROCESSD5_6_0_ from JBPM_DELEGATION delegation0_ where delegation0_.ID_=?
            [2/16/07 12:33:39:012 IST] 6f97230a SystemOut O In start of MyActionHandler 3 ....
            [2/16/07 12:33:39:012 IST] 6f97230a SystemOut O In end of MyActionHandler 3 ....
            [2/16/07 12:33:39:153 IST] 6f97230a SystemOut O Hibernate: select exceptionh0_.NODE_ as NODE7_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_5_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_5_0_, exceptionh0_.TYPE_ as TYPE3_5_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_5_0_ from JBPM_E


            • 3. Re: Please help - rollback with managed trasnactions
              mrudulam

              The remaining part of hte log

              [2/16/07 12:33:39:012 IST] 6f97230a SystemOut O In end of MyActionHandler 3 ....
              [2/16/07 12:33:39:153 IST] 6f97230a SystemOut O Hibernate: select exceptionh0_.NODE_ as NODE7_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_5_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_5_0_, exceptionh0_.TYPE_ as TYPE3_5_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_5_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.NODE_=?
              [2/16/07 12:33:39:293 IST] 6f97230a SystemOut O Hibernate: select exceptionh0_.PROCESSDEFINITION_ as PROCESSD5_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_5_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_5_0_, exceptionh0_.TYPE_ as TYPE3_5_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_5_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.PROCESSDEFINITION_=?
              [2/16/07 12:33:39:621 IST] 6f97230a SystemErr R org.jbpm.graph.def.DelegationException
              [2/16/07 12:33:39:653 IST] 6f97230a SystemErr R at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
              [2/16/07 12:33:39:653 IST] 6f97230a SystemErr R at org.jbpm.graph.def.GraphElement$$FastClassByCGLIB$$7a7d6aa6.invoke(<generated>)
              [2/16/07 12:33:39:653 IST] 6f97230a SystemErr R at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
              [2/16/07 12:33:39:653 IST] 6f97230a SystemErr R at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
              [2/16/07 12:33:39:653 IST] 6f97230a SystemErr R at org.jbpm.graph.def.ProcessDefinition$$EnhancerByCGLIB$$5d0a4696.raiseException(<generated>)
              [2/16/07 12:33:39:653 IST] 6f97230a SystemErr R at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
              [2/16/07 12:33:39:653 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Node.execute(Node.java:332)
              [2/16/07 12:33:39:653 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Node.enter(Node.java:316)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke(<generated>)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$fa519a26.enter(<generated>)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Transition.take(Transition.java:119)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Node.leave(Node.java:382)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.exe.Token.signal(Token.java:174)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.exe.Token.signal(Token.java:123)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke(<generated>)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$a6e040ba.signal(<generated>)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.exe.ProcessInstance$$FastClassByCGLIB$$5167cc59.invoke(<generated>)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.exe.ProcessInstance$$EnhancerByCGLIB$$23cf3665.signal(<generated>)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.wipro.jbpm.JBPMTestServlet.doPost(JBPMTestServlet.java:193)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R Caused by: java.lang.Exception: Exception in ActionHandler3
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at com.wipro.jbpm.MyActionHandler3.execute(MyActionHandler3.java:13)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Action.execute(Action.java:123)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Action$$FastClassByCGLIB$$7876e90e.invoke(<generated>)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Action$$EnhancerByCGLIB$$762bd55a.execute(<generated>)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R at org.jbpm.graph.def.Node.execute(Node.java:328)
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R ... 40 more
              [2/16/07 12:33:39:668 IST] 6f97230a SystemErr R Fri Feb 16 12:33:39 IST 2007 DEBUG: Executing XA statement: XA END 0x00000000000000bf000000131a05ed61cda62a315a206e23fdc2b36e3bd53ed873657276657231,0x1a05ed61cda62a315a206e23fdc2b36e3bd53ed80000001324e3de5a,0x57415344
              [2/16/07 12:33:39:731 IST] 6f97230a SystemErr R Fri Feb 16 12:33:39 IST 2007 DEBUG: Executing XA statement: XA END 0x00000000000000bf000000131a05ed61cda62a315a206e23fdc2b36e3bd53ed873657276657231,0x1a05ed61cda62a315a206e23fdc2b36e3bd53ed80000001301e30f58,0x57415344
              [2/16/07 12:33:39:731 IST] 6f97230a SystemErr R Fri Feb 16 12:33:39 IST 2007 DEBUG: Executing XA statement: XA ROLLBACK 0x00000000000000bf000000131a05ed61cda62a315a206e23fdc2b36e3bd53ed873657276657231,0x1a05ed61cda62a315a206e23fdc2b36e3bd53ed80000001301e30f58,0x57415344
              [2/16/07 12:33:39:793 IST] 6f97230a SystemErr R Fri Feb 16 12:33:39 IST 2007 DEBUG: Executing XA statement: XA ROLLBACK 0x00000000000000bf000000131a05ed61cda62a315a206e23fdc2b36e3bd53ed873657276657231,0x1a05ed61cda62a315a206e23fdc2b36e3bd53ed80000001324e3de5a,0x57415344
              [2/16/07 12:33:39:949 IST] 6f97230a SystemOut O Hibernate: select children0_.PARENT_ as PARENT13_1_, children0_.ID_ as ID1_1_, children0_.NAME_ as NAME3_1_, children0_.ID_ as ID1_17_0_, children0_.VERSION_ as VERSION2_17_0_, children0_.NAME_ as NAME3_17_0_, children0_.START_ as START4_17_0_, children0_.END_ as END5_17_0_, children0_.NODEENTER_ as NODEENTER6_17_0_, children0_.NEXTLOGINDEX_ as NEXTLOGI7_17_0_, children0_.ISABLETOREACTIVATEPARENT_ as ISABLETO8_17_0_, children0_.ISTERMINATIONIMPLICIT_ as ISTERMIN9_17_0_, children0_.ISSUSPENDED_ as ISSUSPE10_17_0_, children0_.NODE_ as NODE11_17_0_, children0_.PROCESSINSTANCE_ as PROCESS12_17_0_, children0_.PARENT_ as PARENT13_17_0_, children0_.SUBPROCESSINSTANCE_ as SUBPROC14_17_0_ from JBPM_TOKEN children0_ where children0_.PARENT_=?
              [2/16/07 12:33:39:965 IST] 6f97230a SystemOut O Hibernate: update JBPM_TOKEN set VERSION_=?, NAME_=?, START_=?, END_=?, NODEENTER_=?, NEXTLOGINDEX_=?, ISABLETOREACTIVATEPARENT_=?, ISTERMINATIONIMPLICIT_=?, ISSUSPENDED_=?, NODE_=?, PROCESSINSTANCE_=?, PARENT_=?, SUBPROCESSINSTANCE_=? where ID_=? and VERSION_=?
              


              • 4. Re: Please help - rollback with managed trasnactions
                mrudulam

                If you look at the last two lines of hte log, after rollback, a select is done on jbpm token and update is done.

                Does this indicate that when rollback occurs, the jbpm_token is set to the parent node of the current node?


                [2/16/07 12:33:39:949 IST]
                6f97230a SystemOut O Hibernate: select children0_.PARENT_ as PARENT13_1_, children0_.ID_ as ID1_1_, children0_.NAME_ as NAME3_1_, children0_.ID_ as ID1_17_0_, children0_.VERSION_ as VERSION2_17_0_, children0_.NAME_ as NAME3_17_0_, children0_.START_ as START4_17_0_, children0_.END_ as END5_17_0_, children0_.NODEENTER_ as NODEENTER6_17_0_, children0_.NEXTLOGINDEX_ as NEXTLOGI7_17_0_, children0_.ISABLETOREACTIVATEPARENT_ as ISABLETO8_17_0_, children0_.ISTERMINATIONIMPLICIT_ as ISTERMIN9_17_0_, children0_.ISSUSPENDED_ as ISSUSPE10_17_0_, children0_.NODE_ as NODE11_17_0_, children0_.PROCESSINSTANCE_ as PROCESS12_17_0_, children0_.PARENT_ as PARENT13_17_0_, children0_.SUBPROCESSINSTANCE_ as SUBPROC14_17_0_ from JBPM_TOKEN children0_ where children0_.PARENT_=?
                
                
                [2/16/07 12:33:39:965 IST]
                6f97230a SystemOut O Hibernate: update JBPM_TOKEN set VERSION_=?, NAME_=?, START_=?, END_=?, NODEENTER_=?, NEXTLOGINDEX_=?, ISABLETOREACTIVATEPARENT_=?, ISTERMINATIONIMPLICIT_=?, ISSUSPENDED_=?, NODE_=?, PROCESSINSTANCE_=?, PARENT_=?, SUBPROCESSINSTANCE_=? where ID_=? and VERSION_=?
                


                • 5. Re: Please help - rollback with managed trasnactions

                  Sorry, you're way beyond me!
                  I've been lucky enough not to need to deal with Websphere J2EE yet.
                  Folks who have dealt with it don't usually say nice thinks about it.

                  Anyone else???

                  -Ed Staub

                  • 6. Re: Please help - rollback with managed trasnactions
                    mrudulam

                    Just in case it helps anyone, here's the configuraiton.
                    a) Configuration in jbpm.cfg.xml

                    <service name="persistence">
                     <factory>
                     <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
                     <field name="isTransactionEnabled"><false /></field>
                     </bean>
                     </factory>
                     </service>
                    


                    b) Configuration in hibernate.cfg.xml (for MySQL datasource)
                    <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
                    <property name="hibernate.connection.datasource">jdbc/jbpm</property>
                    <property name="transaction.manager_lookup_class">org.hibernate.transaction.WebSphereTransactionManagerLookup</property>
                    
                    <property name="hibernate.transaction.flush_before_completion">true</property>
                    <property name="hibernate.connection.release_mode">after_statement</property>
                    <property name="hibernate.transaction.auto_close_session">true</property>
                    
                    

                    c) There is no need to set the connection from datasource on the jbpmContext. Just follow the doucumentation in section "Managed Transactions" of Peristence chapter

                    • 7. Re: Please help - rollback with managed trasnactions

                      Hi, can you share your websphere settings to me, I am also getting the same error. I am working on jbpm3.2.2\jbpm-jpdl-3.2.2 & websphere 6. I am able to connect and give token.signal but at state-end i am getting this error.

                      org.jbpm.db.JobSession deleteJobsForProcessInstance org.hibernate.TransactionException: Could not register synchronization
                      

                      Can you please help me. I already running behind time. and saw all sites from almost 2 weeks. but still not getting any solution.....

                      plz help me.

                      my jbpm.cfg.xml is
                      
                      <jbpm-configuration>
                      
                       <jbpm-context>
                       <service name="persistence">
                       <factory>
                       <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
                       <field name="isTransactionEnabled"><false /></field>
                       <field name="isCurrentSessionEnabled"><false /></field>
                       </bean>
                       </factory>
                       </service>
                       <service name="tx" factory="org.jbpm.tx.TxServiceFactory" />
                       <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />
                       <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
                       <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
                       <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
                       </jbpm-context>
                      
                       <!-- configuration resource files pointing to default configuration files in jbpm-{version}.jar -->
                       <string name="resource.hibernate.cfg.xml" value="hibernate.cfg.xml" />
                       <!-- <string name="resource.hibernate.properties" value="hibernate.properties" /> -->
                       <string name="resource.business.calendar" value="org/jbpm/calendar/jbpm.business.calendar.properties" />
                       <string name="resource.default.modules" value="org/jbpm/graph/def/jbpm.default.modules.properties" />
                       <string name="resource.converter" value="org/jbpm/db/hibernate/jbpm.converter.properties" />
                       <string name="resource.action.types" value="org/jbpm/graph/action/action.types.xml" />
                       <string name="resource.node.types" value="org/jbpm/graph/node/node.types.xml" />
                       <string name="resource.parsers" value="org/jbpm/jpdl/par/jbpm.parsers.xml" />
                       <string name="resource.varmapping" value="org/jbpm/context/exe/jbpm.varmapping.xml" />
                      
                       <bean name="jbpm.task.instance.factory" class="org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl" singleton="true" />
                       <bean name="jbpm.variable.resolver" class="org.jbpm.jpdl.el.impl.JbpmVariableResolver" singleton="true" />
                       <long name="jbpm.msg.wait.timout" value="5000" singleton="true" />
                      
                      
                      </jbpm-configuration>
                      
                      

                      my hibernate.cfg.xml is as follows
                       <property name="hibernate.dialect">org.hibernate.dialect.Oracle9iDialect</property>
                      
                      
                       <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
                      
                       <!-- Websphere -->
                       <property name="hibernate.jdbc.batch_size">0</property>
                       <property name="hibernate.connection.datasource">jdbc/JbpmDS</property>
                       <property name="hibernate.TransactionManagerLookup">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
                       <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
                       <property name="hibernate.TransactionManagerLookupStrategy">org.hibernate.transaction.WebSphereExtendedJTATransactionLookup</property>
                       <property name="transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
                       <property name="hibernate.show_sql">true</property>
                      
                      
                       <property name="hibernate.transaction.flush_before_completion">true</property>