quality@glassfish.java.net

Re: My first tests with FishCAT ...ouch

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Sat, 07 Nov 2009 09:08:56 -0800

Ha, what a humor guy, I know developer are looking at it, thanks for all
your help and patient :-)

Judy

Jose Noheda wrote:
> Just checked. Beta 71 fails to find Hibernate Session as Jan said. It
> fails fast now, faster than before :-)
>
> Regards
>
> On Thu, Nov 5, 2009 at 9:54 AM, Judy Tang <Judy.J.Tang_at_sun.com
> <mailto:Judy.J.Tang_at_sun.com>> wrote:
>
> Thanks Jose so much. "In my tests Hibernate was working fine
> until it needed to create a transaction and failed there. ", your
> testing would be very helpful, will wait to hear from you.
>
> Meanwhile EJB developer is looking into the issue Jan ran into.
>
>
> Thanks,
> Judy
>
> Jose Noheda wrote:
>> Thanks for the good work here! I'll test today's nightly and post
>> if I encounter something weird.
>>
>> I posted the complete sun-resources.xml file to the bug just in
>> case. I haven't suffered the new bug you mention. In my tests
>> Hibernate was working fine until it needed to create a
>> transaction and failed there. But the classes were being found,
>> no doubt about it.
>>
>> Regards
>>
>> On Thu, Nov 5, 2009 at 6:28 AM, Judy Tang <Judy.J.Tang_at_sun.com
>> <mailto:Judy.J.Tang_at_sun.com>> wrote:
>>
>> “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
>>> <mailto:quality-unsubscribe_at_glassfish.dev.java.net> For
>>> additional commands, e-mail:
>>> quality-help_at_glassfish.dev.java.net
>>> <mailto:quality-help_at_glassfish.dev.java.net>
>>
>>
>