[jboss-user] [jBPM] - Re: JBPM 5 DOESN'T WORK

Thong Huynh do-not-reply at jboss.com
Tue Nov 13 21:37:30 EST 2012


Thong Huynh [https://community.jboss.org/people/thonghuynh] created the discussion

"Re: JBPM 5 DOESN'T WORK"

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

--------------------------------------------------------------
Hi Salaboy,
Thank you very much for your answer. It's a shame that I haven't looked into the log much. I found an error in there which basically says it tries to get a task by workItemId but it couldn't. Here is the log:

Do you have any idea why this error happens? Thanks for your help again.

| 16:20:38,269 INFO  [stdout] (http--0.0.0.0-8080-13) INFO  14-11 16:20:38,269 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:20:42,163 INFO  [stdout] (http--0.0.0.0-8080-6) INFO  14-11 16:20:42,162 (LoggingHelper.java:info:49)  |  USER:admin SAVING module [CJ_demo] |
| 16:20:46,146 INFO  [stdout] (http--0.0.0.0-8080-6) INFO  14-11 16:20:46,146 (LoggingHelper.java:info:49)  |  Following assets have been included in package build: CJ_Process, defaultemailicon, defaultlogicon, defaultservicenodeicon, WorkDefinitions, drools, CJ_demo.CJ_Process-image, CJ_demo.CJ_Process-taskform, contactCustomer-taskform, confirmAdviceRequirement-taskform, previewFilenote-taskform,  |
| 16:23:13,290 INFO  [stdout] (http--0.0.0.0-8080-13) INFO  14-11 16:23:13,290 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:13,409 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,408 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:13,661 INFO  [stdout] (http--0.0.0.0-8080-1) WARN  14-11 16:23:13,660 (RulesRepositoryManager.java:createRulesRepository:65)  |  Creating RulesRepository with default username. |
| 16:23:13,674 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,673 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:13,675 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,674 (AuthorizationHeaderChecker.java:loginByHeader:68)  |  admin authenticated for rest api |
| 16:23:13,675 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,675 (PackageDeploymentServlet.java:execute:143)  |  PackageName: defaultPackage |
| 16:23:13,676 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,676 (PackageDeploymentServlet.java:execute:144)  |  PackageVersion: LATEST |
| 16:23:13,676 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,676 (PackageDeploymentServlet.java:execute:145)  |  PackageIsLatest: true |
| 16:23:13,677 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,677 (PackageDeploymentServlet.java:execute:146)  |  PackageIsSource: false |
| 16:23:13,705 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,705 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:13,706 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,706 (AuthorizationHeaderChecker.java:loginByHeader:68)  |  admin authenticated for rest api |
| 16:23:13,707 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,707 (PackageDeploymentServlet.java:execute:143)  |  PackageName: mortgages |
| 16:23:13,707 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,707 (PackageDeploymentServlet.java:execute:144)  |  PackageVersion: LATEST |
| 16:23:13,708 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,707 (PackageDeploymentServlet.java:execute:145)  |  PackageIsLatest: true |
| 16:23:13,708 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,708 (PackageDeploymentServlet.java:execute:146)  |  PackageIsSource: false |
| 16:23:13,807 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,807 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:13,808 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,808 (AuthorizationHeaderChecker.java:loginByHeader:68)  |  admin authenticated for rest api |
| 16:23:13,809 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,808 (PackageDeploymentServlet.java:execute:143)  |  PackageName: CJ_demo |
| 16:23:13,809 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,809 (PackageDeploymentServlet.java:execute:144)  |  PackageVersion: LATEST |
| 16:23:13,810 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,809 (PackageDeploymentServlet.java:execute:145)  |  PackageIsLatest: true |
| 16:23:13,810 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:13,810 (PackageDeploymentServlet.java:execute:146)  |  PackageIsSource: false |
| 16:23:20,262 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:20,261 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,274 INFO  [stdout] (http--0.0.0.0-8080-13) INFO  14-11 16:23:20,274 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,303 INFO  [stdout] (http--0.0.0.0-8080-13) INFO  14-11 16:23:20,303 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,323 INFO  [stdout] (http--0.0.0.0-8080-3) INFO  14-11 16:23:20,323 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,371 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:23:20,370 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,392 INFO  [stdout] (http--0.0.0.0-8080-13) INFO  14-11 16:23:20,392 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,402 INFO  [stdout] (http--0.0.0.0-8080-5) INFO  14-11 16:23:20,401 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,429 INFO  [stdout] (http--0.0.0.0-8080-5) INFO  14-11 16:23:20,428 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,435 INFO  [stdout] (http--0.0.0.0-8080-10) INFO  14-11 16:23:20,435 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,441 INFO  [stdout] (http--0.0.0.0-8080-8) INFO  14-11 16:23:20,441 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,453 INFO  [stdout] (http--0.0.0.0-8080-8) INFO  14-11 16:23:20,453 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,479 INFO  [stdout] (http--0.0.0.0-8080-8) INFO  14-11 16:23:20,478 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,485 INFO  [stdout] (http--0.0.0.0-8080-9) INFO  14-11 16:23:20,485 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,492 INFO  [stdout] (http--0.0.0.0-8080-14) INFO  14-11 16:23:20,491 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,508 INFO  [stdout] (http--0.0.0.0-8080-15) INFO  14-11 16:23:20,508 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,510 INFO  [stdout] (http--0.0.0.0-8080-15) INFO  14-11 16:23:20,509 (AuthorizationHeaderChecker.java:loginByHeader:68)  |  admin authenticated for rest api |
| 16:23:20,510 INFO  [stdout] (http--0.0.0.0-8080-15) INFO  14-11 16:23:20,510 (PackageDeploymentServlet.java:execute:143)  |  PackageName: CJ_demo |
| 16:23:20,511 INFO  [stdout] (http--0.0.0.0-8080-15) INFO  14-11 16:23:20,511 (PackageDeploymentServlet.java:execute:144)  |  PackageVersion: LATEST |
| 16:23:20,511 INFO  [stdout] (http--0.0.0.0-8080-15) INFO  14-11 16:23:20,511 (PackageDeploymentServlet.java:execute:145)  |  PackageIsLatest: true |
| 16:23:20,512 INFO  [stdout] (http--0.0.0.0-8080-15) INFO  14-11 16:23:20,512 (PackageDeploymentServlet.java:execute:146)  |  PackageIsSource: true |
| 16:23:20,524 INFO  [stdout] (http--0.0.0.0-8080-15) INFO  14-11 16:23:20,524 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,534 INFO  [stdout] (http--0.0.0.0-8080-16) INFO  14-11 16:23:20,534 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,580 INFO  [stdout] (http--0.0.0.0-8080-16) INFO  14-11 16:23:20,580 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,589 INFO  [stdout] (http--0.0.0.0-8080-16) INFO  14-11 16:23:20,588 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,615 INFO  [stdout] (http--0.0.0.0-8080-16) INFO  14-11 16:23:20,615 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,633 INFO  [stdout] (http--0.0.0.0-8080-16) INFO  14-11 16:23:20,632 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,640 INFO  [stdout] (http--0.0.0.0-8080-16) INFO  14-11 16:23:20,640 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,650 INFO  [stdout] (http--0.0.0.0-8080-17) INFO  14-11 16:23:20,650 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,676 INFO  [stdout] (http--0.0.0.0-8080-17) INFO  14-11 16:23:20,675 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,684 INFO  [stdout] (http--0.0.0.0-8080-17) INFO  14-11 16:23:20,684 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,711 INFO  [stdout] (http--0.0.0.0-8080-17) INFO  14-11 16:23:20,710 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:23:20,729 INFO  [stdout] (http--0.0.0.0-8080-17) INFO  14-11 16:23:20,728 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
*16:23:53,053 ERROR [stderr] (Thread-20) javax.persistence.NoResultException: No entity found for query*
| *16:23:53,053 ERROR [stderr] (Thread-20)*  | *at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:104)* |
| *16:23:53,054 ERROR [stderr] (Thread-20)*  | *at org.jbpm.task.service.TaskServiceSession.getTaskByWorkItemId(TaskServiceSession.java:644)* |
| *16:23:53,054 ERROR [stderr] (Thread-20)*  | *at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:258)* |
| *16:23:53,054 ERROR [stderr] (Thread-20)*  | *at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:44)* |
| *16:23:53,054 ERROR [stderr] (Thread-20)*  | *at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:85)* |
| *16:23:53,055 ERROR [stderr] (Thread-20)*  | *at java.lang.Thread.run(Thread.java:722)* |
*16:23:53,067 ERROR [stderr] (Thread-46) Exception in thread "Thread-46" java.lang.RuntimeException: Client Exception with class class org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1 using port 5445*
| *16:23:53,067 ERROR [stderr] (Thread-46)*  | *at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:134)* |
| *16:23:53,067 ERROR [stderr] (Thread-46)*  | *at java.lang.Thread.run(Thread.java:722)* |
*16:23:53,068 ERROR [stderr] (Thread-46) Caused by: java.lang.ClassCastException: org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler$AbortTaskResponseHandler cannot be cast to org.jbpm.task.service.TaskClientHandler$TaskSummaryResponseHandler*
| *16:23:53,068 ERROR [stderr] (Thread-46)*  | *at org.jbpm.task.service.TaskClientHandler.messageReceived(TaskClientHandler.java:171)* |
| *16:23:53,068 ERROR [stderr] (Thread-46)*  | *at org.jbpm.task.service.hornetq.HornetQTaskClientHandler.messageReceived(HornetQTaskClientHandler.java:56)* |
| *16:23:53,068 ERROR [stderr] (Thread-46)*  | *at org.jbpm.task.service.hornetq.HornetQTaskClientConnector$1.run(HornetQTaskClientConnector.java:120)* |
| *16:23:53,069 ERROR [stderr] (Thread-46)*  | *... 1 more* |
| 16:24:14,582 INFO  [stdout] (http--0.0.0.0-8080-17) INFO  14-11 16:24:14,581 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,592 INFO  [stdout] (http--0.0.0.0-8080-2) INFO  14-11 16:24:14,592 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,621 INFO  [stdout] (http--0.0.0.0-8080-2) INFO  14-11 16:24:14,620 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,626 INFO  [stdout] (http--0.0.0.0-8080-4) INFO  14-11 16:24:14,626 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,632 INFO  [stdout] (http--0.0.0.0-8080-12) INFO  14-11 16:24:14,631 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,643 INFO  [stdout] (http--0.0.0.0-8080-12) INFO  14-11 16:24:14,643 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,667 INFO  [stdout] (http--0.0.0.0-8080-12) INFO  14-11 16:24:14,666 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,673 INFO  [stdout] (http--0.0.0.0-8080-18) INFO  14-11 16:24:14,672 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,679 INFO  [stdout] (http--0.0.0.0-8080-19) INFO  14-11 16:24:14,679 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,689 INFO  [stdout] (http--0.0.0.0-8080-20) INFO  14-11 16:24:14,689 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:14,717 INFO  [stdout] (http--0.0.0.0-8080-20) INFO  14-11 16:24:14,690 (AuthorizationHeaderChecker.java:loginByHeader:68)  |  admin authenticated for rest api |
| 16:24:14,717 INFO  [stdout] (http--0.0.0.0-8080-20) INFO  14-11 16:24:14,717 (PackageDeploymentServlet.java:execute:143)  |  PackageName: CJ_demo |
| 16:24:14,718 INFO  [stdout] (http--0.0.0.0-8080-20) INFO  14-11 16:24:14,718 (PackageDeploymentServlet.java:execute:144)  |  PackageVersion: LATEST |
| 16:24:14,718 INFO  [stdout] (http--0.0.0.0-8080-20) INFO  14-11 16:24:14,718 (PackageDeploymentServlet.java:execute:145)  |  PackageIsLatest: true |
| 16:24:14,719 INFO  [stdout] (http--0.0.0.0-8080-20) INFO  14-11 16:24:14,719 (PackageDeploymentServlet.java:execute:146)  |  PackageIsSource: true |
| 16:24:54,124 INFO  [stdout] (http--0.0.0.0-8080-20) INFO  14-11 16:24:54,123 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,133 INFO  [stdout] (http--0.0.0.0-8080-8) INFO  14-11 16:24:54,133 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,160 INFO  [stdout] (http--0.0.0.0-8080-8) INFO  14-11 16:24:54,160 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,166 INFO  [stdout] (http--0.0.0.0-8080-10) INFO  14-11 16:24:54,166 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,172 INFO  [stdout] (http--0.0.0.0-8080-5) INFO  14-11 16:24:54,171 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,182 INFO  [stdout] (http--0.0.0.0-8080-5) INFO  14-11 16:24:54,182 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,207 INFO  [stdout] (http--0.0.0.0-8080-5) INFO  14-11 16:24:54,206 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,213 INFO  [stdout] (http--0.0.0.0-8080-13) INFO  14-11 16:24:54,212 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,219 INFO  [stdout] (http--0.0.0.0-8080-1) INFO  14-11 16:24:54,218 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,228 INFO  [stdout] (http--0.0.0.0-8080-3) INFO  14-11 16:24:54,228 (DemoAuthenticator.java:authenticate:65)  |  Demo login for user (admin) succeeded. |
| 16:24:54,229 INFO  [stdout] (http--0.0.0.0-8080-3) INFO  14-11 16:24:54,229 (AuthorizationHeaderChecker.java:loginByHeader:68)  |  admin authenticated for rest api |
| 16:24:54,230 INFO  [stdout] (http--0.0.0.0-8080-3) INFO  14-11 16:24:54,229 (PackageDeploymentServlet.java:execute:143)  |  PackageName: CJ_demo |
| 16:24:54,230 INFO  [stdout] (http--0.0.0.0-8080-3) INFO  14-11 16:24:54,230 (PackageDeploymentServlet.java:execute:144)  |  PackageVersion: LATEST |
| 16:24:54,231 INFO  [stdout] (http--0.0.0.0-8080-3) INFO  14-11 16:24:54,230 (PackageDeploymentServlet.java:execute:145)  |  PackageIsLatest: true |
| 16:24:54,231 INFO  [stdout] (http--0.0.0.0-8080-3) INFO  14-11 16:24:54,231 (PackageDeploymentServlet.java:execute:146)  |  PackageIsSource: true |
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/776302#776302]

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/20121113/fba9ba48/attachment-0001.html 


More information about the jboss-user mailing list