Does anybody have find the solution to the problem?
I have exactly the same issue... I need to run Human Task inside EJB with managed connection...
solved: in persistence.xml it have to be transaction-type set to:
<persistence-unit name="org.jbpm.task" transaction-type="RESOURCE_LOCAL">
but not default JTA