Thanks for the quick reply Pierre - I've been reading up since, checked and my installation is OK.
However, I think I may have found the problem. Sometimes a class loader will throw a NoClassDefFound when a static block throws an Exception. I think the hibernate and jgroup classes in question where trying to grab a file handle and the system limit had been reached (in the tomcat users case 1024). This is quite a loaded box doing all the batch processing so not unreasonable. Does this make sense? I'll check the classes in question and see if that's what they're doing. Thanks, Chris ----- Original Message ---- From: Pierre Goupil <goupilpie...@gmail.com> To: Tomcat Users List <users@tomcat.apache.org> Sent: Wednesday, July 29, 2009 12:43:49 PM Subject: Re: Weird Intermittent NoClassDefFound Hello, I've never encountered such a situation myself, but it may be because of a duplicate jar in your classpath. As you may know, looking in WEB-INF/lib should not be enough. Maybe you should have a look at this, in order to know where to look : http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html HTH, Pierre On Wed, Jul 29, 2009 at 1:39 PM, Chris Masters <roti...@yahoo.com> wrote: > > Hi All, > > I'm running tomcat apache-tomcat-6.0.18 with a single application that has > heavy spring and hibernate usage. One of the deployments mainly deals with > batch processing from Quartz. After a couple days worth of processing I > suddenly get NoClassDefFound errors (usually from some random hibernate > class) for classes that have been previously loaded. The other day it > occured with a class from JGroups (we use this for clustered cache > communication) and it spewed out *loads* of NoClassDefFound and ended up > filling up the disk. > > So, a couple questions: > > - has anyone else encountered this? > - could this be a tomcat class loader issue? > - any ideas? help? > > Thanks in advance, > > rotis23 > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Sans amis était le grand maître des mondes, Eprouvait manque, ce pour quoi il créa les esprits, Miroirs bienveillants de sa béatitude. Mais au vrai, il ne trouva aucun égal, Du calice du royaume total des âmes Ecume jusqu'à lui l'infinité. (Schiller, "l'amitié") --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org