[jboss-user] [JBoss jBPM] - Re: Concurrency Problem

wjn811 do-not-reply at jboss.com
Wed Jun 17 23:12:19 EDT 2009


It's me again...

I will post data generated by jBPM in MySQL just after exceptions occur

SQL

  | SELECT * FROM jbpm4_execution\G;
  | 

Data in jbpm4_execution

  | *************************** 1. row ***************************
  |          DBID_: 1
  |         CLASS_: jpdl
  |     DBVERSION_: 1
  |  ACTIVITYNAME_: NULL
  |     PROCDEFID_: concurruncy-1
  |       HASVARS_:
  |          NAME_: NULL
  |           KEY_: NULL
  |            ID_: concurruncy.1
  |         STATE_: inactive-concurrent-root
  | SUSPHISTSTATE_: NULL
  |      PRIORITY_: 0
  |    HISACTINST_: NULL
  |        PARENT_: NULL
  |      INSTANCE_: 1
  |     SUPEREXEC_: NULL
  |   SUBPROCINST_: NULL
  |    PARENT_IDX_: NULL
  | *************************** 2. row ***************************
  |          DBID_: 2
  |         CLASS_: jpdl
  |     DBVERSION_: 1
  |  ACTIVITYNAME_: Subprocess1
  |     PROCDEFID_: concurruncy-1
  |       HASVARS_:
  |          NAME_: to task1
  |           KEY_: NULL
  |            ID_: concurruncy.1.to task1[0]
  |         STATE_: active-concurrent
  | SUSPHISTSTATE_: NULL
  |      PRIORITY_: 0
  |    HISACTINST_: 1
  |        PARENT_: 1
  |      INSTANCE_: 1
  |     SUPEREXEC_: NULL
  |   SUBPROCINST_: 4
  |    PARENT_IDX_: 0
  | *************************** 3. row ***************************
  |          DBID_: 3
  |         CLASS_: jpdl
  |     DBVERSION_: 1
  |  ACTIVITYNAME_: join2
  |     PROCDEFID_: concurruncy-1
  |       HASVARS_:
  |          NAME_: to task2
  |           KEY_: NULL
  |            ID_: concurruncy.1.to task2[0]
  |         STATE_: inactive-join
  | SUSPHISTSTATE_: NULL
  |      PRIORITY_: 0
  |    HISACTINST_: 2
  |        PARENT_: 1
  |      INSTANCE_: 1
  |     SUPEREXEC_: NULL
  |   SUBPROCINST_: NULL
  |    PARENT_IDX_: 1
  | *************************** 4. row ***************************
  |          DBID_: 4
  |         CLASS_: jpdl
  |     DBVERSION_: 1
  |  ACTIVITYNAME_: NULL
  |     PROCDEFID_: sub_concurrency-1
  |       HASVARS_:
  |          NAME_: NULL
  |           KEY_: NULL
  |            ID_: sub_concurrency.4
  |         STATE_: inactive-concurrent-root
  | SUSPHISTSTATE_: NULL
  |      PRIORITY_: 0
  |    HISACTINST_: NULL
  |        PARENT_: NULL
  |      INSTANCE_: 4
  |     SUPEREXEC_: 2
  |   SUBPROCINST_: NULL
  |    PARENT_IDX_: NULL
  | *************************** 5. row ***************************
  |          DBID_: 5
  |         CLASS_: jpdl
  |     DBVERSION_: 1
  |  ACTIVITYNAME_: sub_join
  |     PROCDEFID_: sub_concurrency-1
  |       HASVARS_:
  |          NAME_: to task4
  |           KEY_: NULL
  |            ID_: sub_concurrency.4.to task4[0]
  |         STATE_: inactive-join
  | SUSPHISTSTATE_: NULL
  |      PRIORITY_: 0
  |    HISACTINST_: 3
  |        PARENT_: 4
  |      INSTANCE_: 4
  |     SUPEREXEC_: NULL
  |   SUBPROCINST_: NULL
  |    PARENT_IDX_: 0
  | *************************** 6. row ***************************
  |          DBID_: 6
  |         CLASS_: jpdl
  |     DBVERSION_: 0
  |  ACTIVITYNAME_: task3
  |     PROCDEFID_: sub_concurrency-1
  |       HASVARS_:
  |          NAME_: to task3
  |           KEY_: NULL
  |            ID_: sub_concurrency.4.to task3[0]
  |         STATE_: active-concurrent
  | SUSPHISTSTATE_: NULL
  |      PRIORITY_: 0
  |    HISACTINST_: 4
  |        PARENT_: 4
  |      INSTANCE_: 4
  |     SUPEREXEC_: NULL
  |   SUBPROCINST_: NULL
  |    PARENT_IDX_: 1
  | 6 rows in set (0.00 sec)
  | 

Look at row 4. Its SUPEREXEC_ refers to row2(DBID_=2)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238364#4238364

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238364



More information about the jboss-user mailing list