How to configure the Stateful EJB cache in JBoss EAP 7
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 7
Issue
How to configure the Stateful EJB cache in JBoss EAP 7
Resolution
In JBoss EAP 6 the passivation was eager where when it hit the idle-timeout it would passivate it to disk.
In EAP 7 it uses lazy passivation where it will passivate once it hits the max-size, so the idle-timeout is deprecated as per the migration docs in [1].
[1] Migration docs - Configuring Custom Stateful Session Bean Cache for Passivation
[2] How to configure the Stateful EJB cache in JBoss EAP 6
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.