JBoss Community

Using jbpm-human-task-war.war instead of DemoTaskService.class

created by Junaid Mohammed in jBPM - View the full discussion

Hi,

 

The JBPM Human Task Service WAR is not actually bundled with the 5.2 full installer.

 

Nonetheless, I managed to somehow find and grab it from http://repo1.maven.org/maven2/org/jbpm/jbpm-human-task-war/5.2.0.Final/jbpm-human-task-war-${jbpm.human-task-service.version}.war.

 

It seems to deploy effortlessly on the JBoss AS7 that comes bundled with the 5.2 full installer.

 

However, switching from running DemoTaskService.class outside of any container, to running the jbpm-human-task-war.war is not so straight-forward as I hoped.

 

From closer inspection - of the jbpm-human-task-war.war source, it seems that the main class, HumanTaskServiceServlet.java, has identical logic to the DemoTaskService.java.

 

Therefore, I assumed that the Mina Task Server that is created would still be visible on 127.0.0.1:9123. But this doesn't seem to be the case.

 

Unfortunately, with no other changes, this still causes a problem for the GWT BPM Console, which reports and error: "Could not connect task client".

 

Please could you advise what further configuration would be required to be able to use the jbpm-human-task-war.war with the demo setup?

 

Many thanks.

Reply to this message by going to Community

Start a new discussion in jBPM at Community