JBoss Community

jBPM5 on AS7 - human task exception

created by Jim Dwyer in jBPM - View the full discussion

Got these exceptions after following these instructions: http://kverlaen.blogspot.com/2011/07/jbpm5-on-as7-lightning.html

 

Anybody know the answer to this?  I have seen references on the web about this problem but don't see the solution.

 

http://localhost:8080/jbpm-console/app/clear.cache.gif
  HTTP 500: 

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: Could not connect task client
     org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345)
     org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321)
     org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)
     org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)
     org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
     org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
     org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

root cause

java.lang.RuntimeException: Could not initialize stateful knowledge session: Could not connect task client
     org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:185)
     org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
     org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
     org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
     org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
     org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
     org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
     org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:597)
     org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
     org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
     org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
     org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
     org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

root cause

java.lang.IllegalArgumentException: Could not connect task client
     org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler.connect(CommandBasedWSHumanTaskHandler.java:88)
     org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:181)
     org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
     org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
     org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
     org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
     org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
     org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
     org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:597)
     org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
     org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
     org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
     org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
     org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

Reply to this message by going to Community

Start a new discussion in jBPM at Community