users@glassfish.java.net

Re: EntityManager no longer finds entities

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 24 Jul 2009 14:00:27 -0700

Can it be a classloader issue?

thanks,
-marina

glassfish_at_javadesktop.org wrote:
> Hi all,
>
> My GF 2.1 installation has suddenly stopped working for one of my web applications: that is, after successfully logging in (GF is managing authentication) I get the following error:
>
> javax.servlet.ServletException: java.lang.IllegalArgumentException: Unknown entity bean class: class it.belluno.comune.persistenza.sicurezza.Utenti, please verify that this class has benn marked with the @Entity annotation.
>
> Up until this morning everything has been working fine. If I deploy the application to my local GF 2.1 everything works as before.
>
> I use the NB 6.7 IDE and this error is happening in the findEntity(String id) method of my jpa class. As soon as the find method of the EntityManager gets called the above error is returned.
>
> Any ideas on why this might be happening? Thanks for any insight.
> [Message sent by forum member 'wtmann' (wtmann)]
>
> http://forums.java.net/jive/thread.jspa?messageID=354863
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>