users@glassfish.java.net

Re: Glassfish and Loadbalancer

From: <glassfish_at_javadesktop.org>
Date: Fri, 28 Mar 2008 04:25:34 PST

Yes I do, I use Toplink essentials.
I have a problem with persistence context across glassfish instances, I haven't for TopLink 2nd level cache.

If I call em.refresh for an entity which the corresponded data was deleted from db (outside the container), Glassfish raise up an exception because Toplink can't find data in db (EntityNotFoundException: Entity no longer exists in the database).
[Message sent by forum member 'peppeme' (peppeme)]

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