I have integrated this human task as part of jbpm-console mainly for the following reasons
- I do not need to maintain another job to run human task and the installation becomes simply dropping the war files in Tomcat.
- I can use Tomcat logs to see if there is any problem in calling Humantasks from Tomcat
Anyway, here are the details if any one wants to integate with Tomcat6.
Modify web.xml in jbpm-console's war file to include a human task startup servlet.
e.g.,
<servlet>
<servlet-name>HumanTaskStartupServlet</servlet-name>
<servlet-class>com.sample.HumanTaskStartupServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>HumanTaskStartupServlet</servlet-name>
<url-pattern>/HumanTaskStartupServlet/*</url-pattern>
</servlet-mapping>
Copy the humantask compiled class to WEB-INF/classes diectory of jbpm-console