dev@glassfish.java.net

PU with TX Type JTA

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Fri, 15 Jun 2007 16:46:42 -0700

Here is a great error message I see when deploying an error:

-- cut here --
Deploying application in domain failed; Deployment Error -- The
persistence-context-ref-name [sample.NewServlet/em] in module
[C:\Users\Arun Gupta\WebApplication5\build\web] resolves to a
persistence unit called [JavaLibrary1PU] which is of type
RESOURCE_LOCAL. Only persistence units with transaction type JTA can be
used as a container managed entity manager. Please verify your application.
-- cut here --

Little detailed but very clearly conveys what is possibly wrong in the
application. Now how do I fix it when generating this PU in NB ?

-Arun
-- 
Technology Evangelist
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta