Use 1.
----- Original Message -----
From: "Frank Villarreal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 4:52 PM
Subject: RE: [JBoss-user] HOW TO DISABLE ENTITY-BEAN CACHING?
> K.V. Vinay Menon [mailto:[EMAIL PROTECTED]] wrote :
> > For what its worth did you try changing the following section in
> > standardjboss.xml
> >
> > <cache-policy-conf>
> > <min-capacity>50</min-capacity>
> > <max-capacity>1000</max-capacity>
> > <overager-period>300</overager-period>
> > <max-bean-age>600</max-bean-age>
> > <resizer-period>400</resizer-period>
> >
> <max-cache-miss-period>60</max-cache-miss-period>
> >
> <min-cache-miss-period>1</min-cache-miss-period>
> > <cache-load-factor>0.75</cache-load-factor>
> > </cache-policy-conf>
> >
> > to set min/max-capacity to 0?
> >
> > Vinay
>
> Thanks Vinay, but I tried setting the min/max capacity to 0 and it
resulted
> in the following jboss startup exception...
>
> <exception>
> [Container factory] org.jboss.ejb.DeploymentException: Can't import policy
> configuration, Cause:org.jboss.ejb.DeploymentException: Min cache capacity
> can't be <= 0
> [Container factory] at
>
org.jboss.ejb.plugins.AbstractInstanceCache.importXml(AbstractInstanceCache.
> java:311)
> [Container factory] at
>
org.jboss.ejb.ContainerFactory.createInstanceCache(ContainerFactory.java:762
> )
> [Container factory]
> </exception>
>
> Any other ideas?
>
> - Frank
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user