Gary tse [
http://community.jboss.org/people/garytse] created the discussion
"Re: Instantiating workflow from EJB deployed as part of .ear :
javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable
to build EntityManagerFactory"
To view the discussion, visit:
http://community.jboss.org/message/619544#619544
--------------------------------------------------------------
Try using JBossTransactionManagerLookup... not sure why you have it commented out.
<property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.JBossTransactionManagerLookup" />
Next, set this to validate if the tables are already created previously :
<property name="hibernate.hbm2ddl.auto" value="validate" />
Good luck
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/619544#619544]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]