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


----- Original Message -----
From: "Frank Villarreal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 1:03 PM
Subject: [JBoss-user] HOW TO DISABLE ENTITY-BEAN CACHING?


> Hello all.
>
> I was wondering if someone can give me a hand.  I temporarily need to
> disable all entity-bean caching in JBoss.  Is this possible?  My problem
is
> that I have an external application that is updating my entity-bean tables
> (I will eventually eliminate that, but for now I have no choice in the
> matter) and I want my beans to show the most current data from the
> operational store.  So far, I have modified "standardjboss.xml" and set
the
> <commit-option> tags to option C ... which seems like a fit. However,
after
> making a change to a database record and accessing the corresponding
> entity-bean, the bean still contains the "old" data (apparently it is
cached
> in memory).  Am I going insane or am I missing some configuration
somewhere?
> Any help is appreciated!
>
> - Frank Villarreal
>
> _______________________________________________
> 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

Reply via email to