JSF "ViewScoped" Beans are not destroyed when user refreshes browser

Solution Unverified - Updated -

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.

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