How to migrate the Stateful EJB cache configuration from JBoss EAP 5 / 4 to JBoss EAP 6

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content