How to migrate the Stateful EJB cache configuration from JBoss EAP 5 / 4 to JBoss EAP 6
Issue
- We are migrating our application from EAP 5 to EAP 6, and we try to migrate jboss.xml to jboss-ejb3.xml. So, where shoud I migrate the "container-cache-conf" tag which were configed in EAP 5 as below:
<container-cache-conf>
<cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
<cache-policy-conf>
<min-capacity>50</min-capacity>
<max-capacity>200</max-capacity>
<remover-period>1800</remover-period>
<max-bean-life>1320</max-bean-life>
<overager-period>300</overager-period>
<max-bean-age>1260</max-bean-age>
</cache-policy-conf>
</container-cache-conf>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
