I am also facing the similar issue. When I deployed custom web application(which includes the task client connection code) , it is working fine if Jbpm-console is not deployed inside the same JbossAS. But if i deploy both, Jbpm-Console(process tab) is throwing exception.