users@glassfish.java.net

Re: Container Managed Transaction and Hibernate Search

From: <glassfish_at_javadesktop.org>
Date: Tue, 11 Sep 2007 08:38:05 PDT

Why error?

[i]javax.naming.NameNotFoundException: Lookup of java:comp/UserTransaction not allowed for Container managed Transaction beans[/i]

It is expected, you need to change your CMT to a BMT if you plan to manually handle the transaction.
[Message sent by forum member 'epbernard' (epbernard)]

http://forums.java.net/jive/thread.jspa?messageID=234875