[jboss-user] [jBPM] - Re: problem with JPAKnowledgeService and LocalTaskService

Ted Pan do-not-reply at jboss.com
Fri Nov 2 13:51:30 EDT 2012


Ted Pan [https://community.jboss.org/people/ted.pan] created the discussion

"Re: problem with JPAKnowledgeService and LocalTaskService"

To view the discussion, visit: https://community.jboss.org/message/773716#773716

--------------------------------------------------------------
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
[https://community.jboss.org/message/773716#773716]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121102/612ac3b3/attachment.html 


More information about the jboss-user mailing list