[Opensource] cache="n" ?
Michael Rimov
rimovm at centercomp.com
Tue Nov 26 10:35:58 PST 2002
At 11:24 PM 11/25/2002 -0800, you wrote:
> I changed the <jdbc> definition in expresso-config.xml that applies to
> the default hsql db to have attribute cache="n" . in other words, I
> turned the database/object cache off.
>
>I got a stack overflow (below) in Setup.java when starting up.
>
>can you duplicate this result? is this particular to my setup (cvs head
>from a couple weeks ago), or an ugly bug? the JVM has plenty of RAM via
>-Xms128m
Hi Larry,
This one is listed in the "Known Bugs Section"... cache=N and setupTables=Y
makes for an ugly combination right now. The problem is that the
underlying checks to see if a Cache has been created for Setup values and
if not, it tries to create a cache.... however since cach=N is strictly
enforced [didn't use to be in Expresso 4.*] the next time it checks the
setup table it tries to create a cache, etc... and thus you get this
recursive loop... and the stack overflow.
I haven't been able to get to it myself yet, if you want to take a stab at it.
-Mike
More information about the Opensource
mailing list