Hey,
yes, you can turn cache resizing off (as also you can turn overage
passivation off) in the following way:
in the jboss.xml file (that you already created to specify the cache policy
to be the passivating one) change the following settings to be:
<resizer-period>0</resizer-period>
<overager-period>0</overager-period> (if you want to turn off the overager
also)
and redeploy.
I'm looking at this problem, stay tuned.
Bye
Simon
I updated my CVS this morning, though I'm also doing a clean checkout to
make sure I didn't get too messed up in the process.
After 10-15 minutes I seem to get a cache size adjustment message on my
console, and if the cache gets too small (less than total number of X's)
then when I execute a finder which returns all the X's I get some weird null
pointer exception in LRU cache.
[cart.ProductSession] java.lang.NullPointerException
at
org.jboss.util.LRUCachePolicy$LRUList.promote(LRUCachePolicy.java:293)
at org.jboss.util.LRUCachePolicy.get(LRUCachePolicy.java:121)
at
org.jboss.ejb.plugins.EnterpriseInstanceCache.get(EnterpriseInstanceCache.ja
va:75)
at
org.jboss.ejb.plugins.EntityInstanceCache.get(EntityInstanceCache.java:56)
Is there some way to fix the cache size, or turn off this shrinking?
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]