Hi HiuSheng,
Your help is grately appreciated.
I think I've got to the bottom of it: I'm failing with ConstraintViolationException running against the code included into jbpm-4.4-SNAPSHOT. I checked out the code base from http://anonsvn.jboss.org/repos/jbpm (rev. 6169).