JBoss Community

Re: problem with JPAKnowledgeService and LocalTaskService

created by Ted Pan in jBPM - View the full discussion

hi Maciej,

 

 

I made a mistake when run the tests you provided. I didn't change the persistence.xml to point to the right database( the one created on-the-fly)

 

After I fixed this issue, I tried the test again with jbpm5.4.0.CR1 and jbpm6.0.0.SNAPSHOT( today's).

 

I got the same result: ( the main process does stop. but no log for the third human task)

 

....

13314 [main] INFO  java.sql.DatabaseMetaData  - HHH000262: Table not found: email_header

13314 [main] INFO  java.sql.DatabaseMetaData  - HHH000262: Table not found: task_comment

13377 [main] INFO  org.hibernate.tool.hbm2ddl.SchemaUpdate  - HHH000232: Schema update complete

Nov 2, 2012 1:43:38 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:38 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:38 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Registering Human Task..

Nov 2, 2012 1:43:38 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:38 PM org.jbpm.task.identity.UserGroupCallbackManager setCallback

INFO: UserGroupCallback registered: org.jbpm.task.identity.DefaultUserGroupCallbackImpl

Nov 2, 2012 1:43:38 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:40 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:40 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

1    test    Reserved

Nov 2, 2012 1:43:42 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:42 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:42 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:42 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:42 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:42 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:42 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:43 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

2    test2    Reserved

Nov 2, 2012 1:43:44 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:44 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:44 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:44 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:44 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:44 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:44 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:45 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Nov 2, 2012 1:43:45 PM bitronix.tm.twopc.Preparer prepare

WARNING: executing transaction with 0 enlisted resource

Process is WorkflowProcessInstance1 [processId=HumanTask,state=1]

Fri Nov 02 13:43:45 EDT 2012    Process completed?

 

So I think the problem may be with my configuration. I attach all the files I need, could you help me to figure it out?

 

Thanks

 

Ted

Reply to this message by going to Community

Start a new discussion in jBPM at Community