[jboss-user] [jBPM] - Re: NameNotFoundException - Jboss7, jbpm5.2

Prasanth Manchambhatla do-not-reply at jboss.com
Thu Jan 12 12:37:42 EST 2012


Prasanth Manchambhatla [https://community.jboss.org/people/pmancham] created the discussion

"Re: NameNotFoundException - Jboss7, jbpm5.2"

To view the discussion, visit: https://community.jboss.org/message/646526#646526

--------------------------------------------------------------
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
[https://community.jboss.org/message/646526#646526]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120112/dad4c7c1/attachment-0001.html 


More information about the jboss-user mailing list