[jboss-user] [jBPM] - jBPM5 on AS7 - human task exception

Jim Dwyer do-not-reply at jboss.com
Thu Sep 8 17:01:50 EDT 2011


Jim Dwyer [http://community.jboss.org/people/JimDwyer] created the discussion

"jBPM5 on AS7 - human task exception"

To view the discussion, visit: http://community.jboss.org/message/625624#625624

--------------------------------------------------------------
Got these exceptions after following these instructions:  http://kverlaen.blogspot.com/2011/07/jbpm5-on-as7-lightning.html 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://localhost:8080/jbpm-console/app/clear.cache.gif) |
| * URL: 'http://localhost:8080/gwt-console-server/rs/process/definitions' 
* Action: 'org.jboss.bpm.console.client.process.UpdateHistoryDefinitionsAction' 
* Exception: 'class com.google.gwt.http.client.RequestException'
  HTTP 500:  h1. 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
[http://community.jboss.org/message/625624#625624]

Start a new discussion in jBPM at Community
[http://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/20110908/d1011db5/attachment-0001.html 


More information about the jboss-user mailing list