Probably they are right, thread local can be a problem with thread pool ( reference on thread is weak, but it strong on value ). webapp must clear all thread locals at the end of request for this reason. Similar problem can be in cglib with thread local callbacks, but it looks like hibernate doe's not use this feature.
--- Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: > On Fri, 01 Apr 2005 16:48:48 +0200, baliuka juozas > <[EMAIL PROTECTED]> > wrote: > > but anyhow they claim to have fixed it....not just > weakref stuff. > > /max > > > > All thread locals are weak (it is implemented as > weak > > hash map). > > BTW > > > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5033614 > > > > --- Max Rydahl Andersen <[EMAIL PROTECTED]> > > wrote: > >> > >> FYI I post the following on the forum > >> > > > http://forum.hibernate.org/viewtopic.php?p=2236676#2236676 > >> > >> btw. I went and looked at the cvs version of > dom4j > >> (which seems to run the > >> h3 unittests without problems) > >> > >> This cvs version does not seem to contain the bug > >> anymore since they now > >> have weakreferences instead of hard references. > >> > >> So, for those who have issues with this can try > and > >> checkout the cvs > >> version and use that. > >> > >> I have also contacted them to hear when they > expect > >> to get an release out > >> we could hopefully use. > >> > >> -- > >> -- > >> Max Rydahl Andersen > >> callto://max.rydahl.andersen > >> > >> Hibernate > >> [EMAIL PROTECTED] > >> http://hibernate.org > >> > >> JBoss Inc > >> [EMAIL PROTECTED] > >> http://jboss.com > >> > >> > >> > > > ------------------------------------------------------- > >> This SF.net email is sponsored by Demarc: > >> A global provider of Threat Management Solutions. > >> Download our HomeAdmin security software for free > >> today! > >> http://www.demarc.com/info/Sentarus/hamr30 > >> _______________________________________________ > >> hibernate-devel mailing list > >> hibernate-devel@lists.sourceforge.net > >> > > > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > >> > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > -- > -- > Max Rydahl Andersen > callto://max.rydahl.andersen > > Hibernate > [EMAIL PROTECTED] > http://hibernate.org > > JBoss Inc > [EMAIL PROTECTED] > http://jboss.com > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free > today! > http://www.demarc.com/info/Sentarus/hamr30 > _______________________________________________ > hibernate-devel mailing list > hibernate-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hibernate-devel > __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel