JBoss Community

Re: Integrating TaskService with jbpm-console

created by roxy1987 in jBPM - View the full discussion

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.

 

HTTP 500:

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

Start a new discussion in jBPM at Community