If there is a problem with the persistence.xml, it's either within the library or the Eclipse example generation code, as there is no custom code at all, just 'advanced process including human tasks and persistence' example in the Jboss Developer Studio 5.0.