Some tests wrongly assume that the Servlet Sessions will all get destroyed during shutdown. But that is not necessarily the case. An undeploy or shudown might passivate the Session to a storage and pick it up later again. This is perfectly valid from a Servlet perspective and CDI must follow those rules. |