users@glassfish.java.net

Re: Classloading Error for JPA Implementation

From: <glassfish_at_javadesktop.org>
Date: Fri, 23 Mar 2007 08:34:24 PST

>Did you try to ask about it on the Hibernate forum?
Here is the reply: http://forum.hibernate.org/viewtopic.php?t=972404

Apaprently Glassfish mess up with the thread current class loader on redeployment

Here is the culprit line

         Enumeration<URL> xmls = Thread.currentThread()
               .getContextClassLoader()
               .getResources( "META-INF/persistence.xml" );
[Message sent by forum member 'tmv' (tmv)]

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