JBoss Community

Re: NameNotFoundException - Jboss7, jbpm5.2

created by Prasanth Manchambhatla in jBPM - View the full discussion

This seemed to work.

 

package com.jbpm.test;

public class MyTransactionManagerLookup extends JNDITransactionManagerLookup {

    protected String getName() {

        return "java:jboss/TransactionManager";

    }

    public String getUserTransactionName() {

        return "UserTransaction";

    }

}

 

and modifying persistence.xml to

 

<property name="hibernate.transaction.manager_lookup_class" value="com.jbpm.test.MyTransactionManagerLookup" />

Reply to this message by going to Community

Start a new discussion in jBPM at Community