quality@glassfish.java.net

Re: My first tests with FishCAT ...ouch

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Wed, 04 Nov 2009 21:28:31 -0800

"Judy, at this point, I'm not sure what to do next. This is no longer a
web container issue.
Could someone from the persistence team look into the
ClassNotFoundException?"

Thanks Jan for all your hard work. I have let the persistence team know,
let's wait to hear from them.

Judy :-)

Jan Luehe wrote:
> Hi Jose,
>
> On 10/31/09 02:36, Jose Noheda wrote:
>>
>>
>> > From there it continues booting until it stops with the Spring
>> error (to encounter
>> > this one you need to create a pool named iwebmvc that points to
>> a MySQL5 database
>> > or Hibernate will fail):
>>
>> I probably need your help with that.
>>
>>
>> This may be of help. It's cut&pasted from a sun-resources.xml that I
>> use to deply from Netbeans:
>
> Thanks, I was able to make some progress with that!
>
> I've removed some of the "...." (where they relevant?) and copied the
> contents into the
> attached sun-resources.xml.
>
> Then I ran
>
> % asadmin add-resources sun-resources.xml
>
> and deployed your app.
>
> I am now getting this error:
>
> Caused by: java.lang.ClassNotFoundException:
> org.hibernate.impl.SessionFactoryImpl
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at
> org.apache.felix.framework.ModuleImpl.searchDynamicImports(ModuleImpl.java:1478)
> at
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:689)
> at
> org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:60)
> at
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1650)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at
> java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
> at
> com.sun.enterprise.naming.util.OSGiObjectInputOutputStreamFactoryImpl$OSGiObjectInputStream.resolveClass(OSGiObjectInputOutputStreamFactoryImpl.java:99)
> at
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
> at
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
> at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
> at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
> at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
> at
> com.sun.enterprise.naming.util.NamingUtilsImpl$1.run(NamingUtilsImpl.java:97)
> ... 91 more
>
> See attached server.log for complete stack traces.
>
> I've verified that the class that cannot be found
> (org.hibernate.impl.SessionFactoryImpl)
> is present in your webapp's WEB-INF/lib/hibernate-core-3.3.1.GA.jar
>
> Judy, at this point, I'm not sure what to do next. This is no longer a
> web container issue.
> Could someone from the persistence team look into the
> ClassNotFoundException?
>
> Thanks,
>
> Jan
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net