JSF "ViewScoped" Beans are not destroyed when user refreshes browser
Issue
We have a JSF/Faces application running on JBoss EAP 7.1 where we are using ManagedBeans
. The Request/View/Sessions beans seems to be properly created and loaded, however the ViewScoped
beans are not being destroyed. New bean instances are created when user refreshes browser but PreDestroy
method are not called on old bean instances.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.