persistence@glassfish.java.net

Re: Use same persistence unit in ejb and web tier

From: Benjamin Graf <Benjamin.Graf_at_gmx.net>
Date: Wed, 25 Oct 2006 10:20:36 +0200

Hi Sanjeep,

I verified my ear file and everything is okay. The answer for the second question, I use <persistence-context-ref> in the web.xml. Fortunately I was able to find the reason for my problem after hours of reading in the glassfish log-files. I tried to close the lookuped entitymanager as I did in the application managed mode. So it was my fault! :-(

Anyway, thanks everybody for helping me :-)

Greets Benjamin
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer