users@glassfish.java.net

Re: bizarre casting problem

From: Glenn Holmer <gholmer_at_weycogroup.com>
Date: Thu, 03 Jan 2008 16:02:35 -0600

Jamey Wood wrote:
> I've seen this behavior when a web application isn't careful to close
> all EntityManagerFactory and EntityManager instances it creates.

I found one EntityManager that wasn't getting closed, and will take the
article's advice about creating the EntityManagerFactory in a servlet
context listener... or is it done differently when using GlassFish since
it's a true app server (I'm a Tomcat refugee)?

-- 
____________________________________________________________
Glenn Holmer                          gholmer_at_weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601