[
https://issues.apache.org/jira/browse/MYFACES-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800189#action_12800189
]
Bernhard Huemer commented on MYFACES-2485:
------------------------------------------
To be honest, I'd consider this as the expected behaviour, just imagine a
clustered environment. Additionally keeping for example Tomcat in mind, knowing
that Tomcat serializes sessions at shutdown, I don't really know whether it's
necessary to invalidate session beans in this case.
> Ensure invocation of @PreDestroy methods on container shutdown/restart
> ----------------------------------------------------------------------
>
> Key: MYFACES-2485
> URL: https://issues.apache.org/jira/browse/MYFACES-2485
> Project: MyFaces Core
> Issue Type: Improvement
> Affects Versions: 2.0.0-alpha
> Reporter: Jakob Korherr
>
> Because of the fact that only ServletContextListener.contextDestroyed() is
> invoked on a container shutdown/restart, the correct destruction of
> ManagedBeans in session, view and request scope is not ensured.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.