B Cavlin [https://community.jboss.org/people/bcavlin] created the discussion
"Re: jBPM 5.2 transaction issues in JBoss 5.1" To view the discussion, visit: https://community.jboss.org/message/728938#728938 -------------------------------------------------------------- I have resolved issue by adding this to persistence.xml <property name="jboss.entity.manager.factory.jndi.name" value="java:/jBPMManagerFactory"/> I ma obtaining factory like this: emf = (EntityManagerFactory) new javax.naming.InitialContext().lookup("java:/jBPMManagerFactory"); instead of Persistence.createEntityManagerFactory(properties.getProperty("persistence.persistenceunit.name")); Seems to work fine for now. -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/728938#728938] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
