[jboss-user] [jBPM] - Re: Integrating TaskService with jbpm-console

roxy1987 do-not-reply at jboss.com
Thu Dec 27 14:40:21 EST 2012


roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Re: Integrating TaskService with jbpm-console"

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

--------------------------------------------------------------
Hi Bpmn2user,

It has been quite some time since you posted this.
I tried using the servlet you attached above to get rid of human task service related stuff. It could not connect to the task client. Below is the trace. COuld you please take a look at it and lemme know what I might have done wrong.

* URL: ' http://localhost:8080/gwt-console-server/rs/tasks/krisv http://localhost:8080/gwt-console-server/rs/tasks/krisv' 
* Action: 'org.jboss.bpm.console.client.task.LoadTasksAction' 
* Exception: 'class com.google.gwt.http.client.RequestException'
HTTP 500:
h1. HTTP Status 500 - java.lang.IllegalArgumentException: Could not connect task client
----
*type* Exception report
*message* java.lang.IllegalArgumentException: Could not connect task client
*description* The server encountered an internal error that prevented it from fulfilling this request.
*exception* 
org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalArgumentException: Could not connect task client
     org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
     org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
     org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)


*root cause* 
java.lang.IllegalArgumentException: Could not connect task client
     org.jbpm.integration.console.TaskManagement.connect(TaskManagement.java:66)
     org.jbpm.integration.console.TaskManagement.getAssignedTasks(TaskManagement.java:179)
     org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:99)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     java.lang.reflect.Method.invoke(Unknown Source)
     org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
     org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
     org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)


*note* The full stack trace of the root cause is available in the Apache Tomcat/6.0.36 logs.

--------------------------------------------------------------

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

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/20121227/96fa4173/attachment.html 


More information about the jboss-user mailing list