There you go. Post a comment there if you have trouble running it. It uses jbpm 5.4 and is configured to run on DB2 and Websphere. But can be configured to run on other DBs and Webcontainers too.
https://community.jboss.org/people/roxy1987/blog/2013/01/22/jbpm5-web-application-example