JBoss Community

Re: Problems with jbpm demo

created by Ville Itämaa in jBPM - View the full discussion

I have the same problem here (I had the same exception as you Franck cdsosi). I am able to create new process instances and they are shown in the list.

But when I go to the Task List, nothing shows up, even if I refresh.

 

I have stopped the debugger, tried to terminate processes and created new ones but they just don't appear in krisv's task list.

 

Here is a piece of the server.log

 

10:14:28,040 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
10:14:28,040 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
10:14:28,041 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
10:14:28,041 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
10:14:28,041 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480)
10:14:28,042 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
10:14:28,042 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
10:14:28,042 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
10:14:28,042 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:14:28,043 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
10:14:28,043 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
10:14:28,043 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
10:14:28,044 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
10:14:28,044 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) at java.lang.Thread.run(Thread.java:722)

10:14:31,851 ERROR [stderr] (Thread-19) javax.persistence.NonUniqueResultException: result returns more than one elements

10:14:31,852 ERROR [stderr] (Thread-19) at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:109)
10:14:31,852 ERROR [stderr] (Thread-19) at org.jbpm.task.service.TaskServiceSession.getTaskByWorkItemId(TaskServiceSession.java:644)
10:14:31,852 ERROR [stderr] (Thread-19) at org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:258)
10:14:31,853 ERROR [stderr] (Thread-19) at org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:44)
10:14:31,853 ERROR [stderr] (Thread-19) at org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:85)
10:14:31,853 ERROR [stderr] (Thread-19) at java.lang.Thread.run(Thread.java:722)

10:15:27,549 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) java.lang.RuntimeException: Timeout : unable to retrieve results

10:15:27,550 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jbpm.task.service.responsehandlers.BlockingTaskSummaryResponseHandler.getResults(BlockingTaskSummaryResponseHandler.java:41)
10:15:27,550 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jbpm.task.service.SyncTaskServiceWrapper.getTasksOwned(SyncTaskServiceWrapper.java:512)
10:15:27,550 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jbpm.integration.console.TaskManagement.getAssignedTasks(TaskManagement.java:140)
10:15:27,550 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)
10:15:27,551 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
10:15:27,551 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:15:27,551 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at java.lang.reflect.Method.invoke(Method.java:601)
10:15:27,551 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
10:15:27,552 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
10:15:27,552 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
10:15:27,552 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
10:15:27,552 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
10:15:27,553 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
10:15:27,553 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
10:15:27,553 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
10:15:27,553 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
10:15:27,553 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
10:15:27,554 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
10:15:27,554 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
10:15:27,554 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
10:15:27,555 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
10:15:27,555 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
10:15:27,555 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
10:15:27,555 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
10:15:27,556 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
10:15:27,556 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
10:15:27,556 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480)
10:15:27,556 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
10:15:27,557 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
10:15:27,557 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
10:15:27,557 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:15:27,557 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
10:15:27,558 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
10:15:27,558 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
10:15:27,558 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
10:15:27,558 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at java.lang.Thread.run(Thread.java:722)

10:22:11,409 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) java.lang.RuntimeException: Timeout : unable to retrieve results

10:22:11,413 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jbpm.task.service.responsehandlers.BlockingTaskSummaryResponseHandler.getResults(BlockingTaskSummaryResponseHandler.java:41)
10:22:11,413 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jbpm.task.service.SyncTaskServiceWrapper.getTasksOwned(SyncTaskServiceWrapper.java:512)
10:22:11,413 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jbpm.integration.console.TaskManagement.getAssignedTasks(TaskManagement.java:140)
10:22:11,413 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)
10:22:11,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
10:22:11,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:22:11,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at java.lang.reflect.Method.invoke(Method.java:601)
10:22:11,414 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
10:22:11,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
10:22:11,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
10:22:11,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
10:22:11,415 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
10:22:11,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
10:22:11,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
10:22:11,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
10:22:11,416 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
10:22:11,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
10:22:11,417 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
10:22:11,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
10:22:11,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
10:22:11,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
10:22:11,418 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
10:22:11,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
10:22:11,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
10:22:11,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
10:22:11,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
10:22:11,419 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480)
10:22:11,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
10:22:11,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
10:22:11,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
10:22:11,420 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:22:11,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
10:22:11,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
10:22:11,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
10:22:11,421 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
10:22:11,422 ERROR [stderr] (http-localhost-127.0.0.1-8080-7) at java.lang.Thread.run(Thread.java:722)

Reply to this message by going to Community

Start a new discussion in jBPM at Community