|
From: Paul B. <pa...@di...> - 2004-11-21 01:17:30
|
Hi Seth, I'm experiencing exactly the same problem in a Hibernate/Spring situation in our project. I'm able to redeploy somewhere around 25 times, then we need to start all over. The problem occurs both with deployment on Tomcat and JBoss. Next to Hibernate we also indeed use cglib and dom4j. Let me know if I can help by describing our situation here, or something else. Rgds, Paul. Paul Buying On 20 nov 2004, at 1:06, Seth Ladd wrote: > I wanted to send out this quick FYI. We have a new Spring/Hibernate > webapp starting up. I used this opportunity to look into OOM > Exceptions on redeploy (again). > > Without Hibernate SessionFactory in my applicationContext, I seem to > be able to redeploy all day long. Once I add in the SessionFactory, I > can redeploy only 10-15 times before OutOfMemoryException. > > The problem definitely seems to be from Hibernate, or cglib, or dom4j. > I'm going to try Guillaume Poirier's listener that cleans up Dom4J. > > But, the good news is that it appears that Spring is good at not > leaving ClassLoaders around. I'll post anything if I found out more. > > Thanks, > Seth > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > > |