Junaid Mohammed [
https://community.jboss.org/people/junaidmohammed] created the
discussion
"Re: Using jbpm-human-task-war.war instead of DemoTaskService.class"
To view the discussion, visit:
https://community.jboss.org/message/713820#713820
--------------------------------------------------------------
Here is the error message and app server log output when initially accessing the
/jbpm-console context:
https://community.jboss.org/servlet/JiveServlet/showImage/2-713820-17910/...
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-713820-17...
14:10:26,530 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]]
(http-localhost-127.0.0.1-8080-3) Servlet.service() for servlet Resteasy threw exception:
org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalArgumentException: Could not
connect task client
at
org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
[resteasy-jaxrs-2.2.1.GA.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
[classes:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
Caused by: java.lang.IllegalArgumentException: Could not connect task client
at org.jbpm.integration.console.TaskManagement.connect(TaskManagement.java:71)
[jbpm-gwt-core-5.2.0.Final.jar:]
at org.jbpm.integration.console.TaskManagement.getAssignedTasks(TaskManagement.java:220)
[jbpm-gwt-core-5.2.0.Final.jar:]
at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)
[classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_27]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_27]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_27]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_27]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
[resteasy-jaxrs-2.2.1.GA.jar:]
... 24 more
And then after closing that exception, the following exception is when trying to retrieve
the list of processes:
https://community.jboss.org/servlet/JiveServlet/showImage/2-713820-17911/...
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-713820-17...
14:34:14,692 INFO [stdout] (http-localhost-127.0.0.1-8080-6) ERROR 01-02 14:34:14,691
(RepositoryServlet.java:doAuthorizedAction:77)
14:34:14,692 INFO [stdout] (http-localhost-127.0.0.1-8080-6)
java.lang.NullPointerException
14:34:14,692 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
java.io.OutputStream.write(OutputStream.java:58)
14:34:14,692 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.drools.guvnor.server.files.FileManagerUtils.loadBinaryPackage(FileManagerUtils.java:189)
14:34:14,692 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:34:14,693 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
14:34:14,693 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
14:34:14,693 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
java.lang.reflect.Method.invoke(Method.java:597)
14:34:14,693 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
14:34:14,693 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
14:34:14,693 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
14:34:14,693 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
14:34:14,694 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
14:34:14,694 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
14:34:14,694 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
14:34:14,694 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
14:34:14,694 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
14:34:14,694 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163)
14:34:14,695 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
14:34:14,695 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
14:34:14,695 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
14:34:14,695 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
14:34:14,695 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.drools.guvnor.server.files.FileManagerUtils_$$_javassist_seam_10.loadBinaryPackage(FileManagerUtils_$$_javassist_seam_10.java)
14:34:14,695 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.drools.guvnor.server.files.PackageDeploymentServlet$1.execute(PackageDeploymentServlet.java:252)
14:34:14,696 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:75)
14:34:14,696 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.drools.guvnor.server.files.PackageDeploymentServlet.doGet(PackageDeploymentServlet.java:130)
14:34:14,696 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
14:34:14,696 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
14:34:14,696 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
14:34:14,696 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
14:34:14,696 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)
14:34:14,697 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:65)
14:34:14,697 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
14:34:14,697 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
14:34:14,697 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
14:34:14,697 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
14:34:14,697 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
14:34:14,698 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
14:34:14,698 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
14:34:14,698 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
14:34:14,698 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
14:34:14,699 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
14:34:14,699 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
14:34:14,699 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
14:34:14,699 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
14:34:14,699 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
14:34:14,699 INFO [stdout] (http-localhost-127.0.0.1-8080-6) at
java.lang.Thread.run(Thread.java:662)
14:34:14,701 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/drools-guvnor].[PackageDeploymentServlet]]
(http-localhost-127.0.0.1-8080-6) Servlet.service() for servlet PackageDeploymentServlet
threw exception: java.lang.NullPointerException
at java.io.OutputStream.write(OutputStream.java:58) [:1.6.0_27]
at
org.drools.guvnor.server.files.FileManagerUtils.loadBinaryPackage(FileManagerUtils.java:189)
[classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_27]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_27]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_27]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_27]
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
[jboss-seam-2.2.2.Final.jar:]
at
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
[jboss-seam-2.2.2.Final.jar:]
at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:163)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
[jboss-seam-2.2.2.Final.jar:]
at
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
[jboss-seam-2.2.2.Final.jar:]
at
org.drools.guvnor.server.files.FileManagerUtils_$$_javassist_seam_10.loadBinaryPackage(FileManagerUtils_$$_javassist_seam_10.java)
[classes:]
at
org.drools.guvnor.server.files.PackageDeploymentServlet$1.execute(PackageDeploymentServlet.java:252)
[classes:]
at
org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:75)
[classes:]
at
org.drools.guvnor.server.files.PackageDeploymentServlet.doGet(PackageDeploymentServlet.java:130)
[classes:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.seam.web.ContextFilter$1.process(ContextFilter.java:42)
[jboss-seam-2.2.2.Final.jar:]
at
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:65)
[jboss-seam-2.2.2.Final.jar:]
at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
[jboss-seam-2.2.2.Final.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
14:34:15,942 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]]
(http-localhost-127.0.0.1-8080-1) Servlet.service() for servlet Resteasy threw exception:
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not
initialize stateful knowledge session: Could not connect task client
at
org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:345)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:321)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:534)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
[resteasy-jaxrs-2.2.1.GA.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
[classes:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)
[jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session:
Could not connect task client
at
org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:244)
[jbpm-gwt-core-5.2.0.Final.jar:]
at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:252)
[jbpm-gwt-core-5.2.0.Final.jar:]
at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:92)
[jbpm-gwt-core-5.2.0.Final.jar:]
at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
[jbpm-gwt-core-5.2.0.Final.jar:]
at
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
[jbpm-gwt-core-5.2.0.Final.jar:]
at
org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
[jbpm-gwt-core-5.2.0.Final.jar:]
at
org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:86)
[classes:]
at
org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
[classes:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_27]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_27]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_27]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_27]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
[resteasy-jaxrs-2.2.1.GA.jar:]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
[resteasy-jaxrs-2.2.1.GA.jar:]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
[resteasy-jaxrs-2.2.1.GA.jar:]
... 24 more
Caused by: java.lang.IllegalArgumentException: Could not connect task client
at
org.jbpm.process.workitem.wsht.CommandBasedWSHumanTaskHandler.connect(CommandBasedWSHumanTaskHandler.java:84)
[jbpm-human-task-5.2.0.Final.jar:]
at
org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:199)
[jbpm-gwt-core-5.2.0.Final.jar:]
... 40 more
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/713820#713820]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]