Hi Chris, If you want to use the EmptyCacheImpl you have to make sure that you do not use cyclic data structures (e.g. A referencing B, B referencing A).
loading cyclic structures with the empty cache results in stackoverflows. cheers, Thomas > -----Original Message----- > From: Chris Halverson [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 24, 2003 5:20 PM > To: [EMAIL PROTECTED] > Subject: Cache manager, StackOverflowError > > > I was trying to disable the Cache by switching to the CacheEmtpy > implementation but when I did so, everything quit working. I tried > switching back to the regular one and am still getting > errors. Basically, the server (Resin) is returning: > > java.lang.StackOverflowError > > I replaced one query w/ straight JDBC (part of the auth), but still > using the PB connection and that works, but when it gets to the next > stage (retrieving roles), the Servlet Exception is thrown. The log > shows: > > 2003-07-24 10:14:06,437 DEBUG (?:?) - getCount class > com.enventistelecom.custportal.businessobjects.Role, ReportQuery from > class com.enventistelecom.custportal.businessobjects.Role count(id) > where [EMAIL PROTECTED] > > I've repeatedly restarted Resin, restarted the DB (mysql if it > matters), recompiled, etc. > > Anybody have _any_ idea WTF happened? I'm totally stumped and don't > see why any of that would have affected anything. > > Thanks! > > cdh > > -- > Chris D. Halverson http://www.halverson.org/ > YIM/AIM: chrisdhal MSN: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
