Hi,
We are using Jboss 3.2.3 on RedHat Advanced server 3.0. Our entity beans uses a
customized container as follows:
<container-configuration extends="Instance Per Transaction CMP 2.x EntityBean">
<container-name>Our CMP 2.x EntityBean</container-name>
<call-logging>false</call-logging>
<container-cache-conf>
<cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-policy>
<cache-policy-conf>
<min-capacity>50</min-capacity>
<max-capacity>1000</max-capacity>
<overager-period>120</overager-period>
<max-bean-age>300</max-bean-age>
<resizer-period>240</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>
</container-cache-conf>
<container-pool-conf>
100
</container-pool-conf>
<commit-option>A</commit-option>
</container-configuration>
First of all, do you see any problem in this config? We are using commit option A and
Instance per transaction container.
We notificed the following:
- SQL queries are ran all the time to fetch the same entity based on PK
(findByPrimaryKey is invoked)
- Using the jboss.monitor.X JMX objects, the size of our cache is always 0 for all
beans
So what's happenning, is the cache disabled or what?
Thanks,
Stephane
<a
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826107#3826107">View
the original post</a>
<a
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826107>Reply
to the post</a>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user