[jboss-user] [JBoss jBPM] - Re: when i end the TaskInstance, an LazyInitializationExcepti

foolpcman do-not-reply at jboss.com
Wed Aug 1 21:49:16 EDT 2007


Sorry,I forgot the log
09:36:53,328 [http8001-Processor22] DEBUG JbpmContextInfo : creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
  | 09:36:53,328 [http8001-Processor22] DEBUG JbpmContext : creating org.jbpm.JbpmContext at 1ddf47e
  | 09:36:53,328 [http8001-Processor22] DEBUG DbPersistenceServiceFactory : creating persistence service
  | 09:36:53,328 [http8001-Processor22] DEBUG DbPersistenceService : creating hibernate session
  | 09:36:53,343 [http8001-Processor22] DEBUG DbPersistenceService : beginning hibernate transaction
  | Hibernate: 
  |     select
  |         rndf_s_report.nextval 
  |     from
  |         dual
  | Hibernate: 
  |     /* named HQL query GraphSession.findLatestProcessDefinitionQuery */ select
  |         * 
  |     from
  |         ( select
  |             processdef0_.ID_ as ID1_4_,
  |             processdef0_.NAME_ as NAME3_4_,
  |             processdef0_.DESCRIPTION_ as DESCRIPT4_4_,
  |             processdef0_.VERSION_ as VERSION5_4_,
  |             processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_4_,
  |             processdef0_.STARTSTATE_ as STARTSTATE7_4_ 
  |         from
  |             JBPM_PROCESSDEFINITION processdef0_ 
  |         where
  |             processdef0_.NAME_=? 
  |         order by
  |             processdef0_.VERSION_ desc ) 
  |     where
  |         rownum <= ?
  | Hibernate: 
  |     select
  |         hibernate_sequence.nextval 
  |     from
  |         dual
  | Hibernate: 
  |     select
  |         hibernate_sequence.nextval 
  |     from
  |         dual
  | 09:36:53,359 [http8001-Processor22] DEBUG GraphElement : event 'process-start' on 'ProcessDefinition(RNDFProcess)' for 'Token(/)'
  | 09:36:53,359 [http8001-Processor22] WARN  StatefulPersistenceContext : Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks ==
  | Hibernate: 
  |     select
  |         hibernate_sequence.nextval 
  |     from
  |         dual
  | 09:36:53,375 [http8001-Processor22] DEBUG TaskController : creating task instance variable 'report_id' from process variable 'report_id', value 'null'
  | 09:36:53,375 [http8001-Processor22] DEBUG VariableContainer : create variable 'report_id' in 'TaskInstance[appendForm]' with value 'null'
  | 09:36:53,375 [http8001-Processor22] DEBUG GraphElement : event 'task-create' on 'Task(appendForm)' for 'Token(/)'
  | Hibernate: 
  |     select
  |         hibernate_sequence.nextval 
  |     from
  |         dual
  | Hibernate: 
  |     select
  |         hibernate_sequence.nextval 
  |     from
  |         dual
  | Hibernate: 
  |     select
  |         hibernate_sequence.nextval 
  |     from
  |         dual
  | Hibernate: 
  |     /* 
  | FROM
  |     RndfVUserinfo 
  | WHERE
  |     group_fid LIKE '102220100%' */ select
  |         rndfvuseri0_.USERNAME as USERNAME32_,
  |         rndfvuseri0_.PASSWORD as PASSWORD32_,
  |         rndfvuseri0_.TRUENAME as TRUENAME32_,
  |         rndfvuseri0_.COMPANY as COMPANY32_,
  |         rndfvuseri0_.DEPARTMENT as DEPARTMENT32_,
  |         rndfvuseri0_.DUTY as DUTY32_,
  |         rndfvuseri0_.TELEPHONE as TELEPHONE32_,
  |         rndfvuseri0_.EMAIL as EMAIL32_,
  |         rndfvuseri0_.HANDSET as HANDSET32_,
  |         rndfvuseri0_.GROUP_NAME as GROUP10_32_,
  |         rndfvuseri0_.GROUP_DESCRIPTION as GROUP11_32_,
  |         rndfvuseri0_.GROUP_SID as GROUP12_32_,
  |         rndfvuseri0_.GROUP_FID as GROUP13_32_,
  |         rndfvuseri0_.SEARCH_LEVEL as SEARCH14_32_,
  |         rndfvuseri0_.LEVELS as LEVELS32_ 
  |     from
  |         WLSRNDF.RNDF_V_USERINFO rndfvuseri0_ 
  |     where
  |         group_fid like '102220100%'
  | 09:36:56,203 [http8001-Processor22] DEBUG GraphElement : event 'task-assign' on 'Task(appendForm)' for 'Token(/)'
  | 09:36:56,203 [http8001-Processor22] DEBUG JbpmContext : closing JbpmContext
  | 09:36:56,203 [http8001-Processor22] DEBUG Services : closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 9d478b
  | 09:36:56,203 [http8001-Processor22] DEBUG DbPersistenceService : committing hibernate transaction
  | 09:36:56,203 [http8001-Processor22] ERROR DbPersistenceService : hibernate commit failed

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

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



More information about the jboss-user mailing list