IllegalStateException: Session was invalidated when doing invalidation in 10.1.3.0.0 OC4J cluster
Last updated on DECEMBER 05, 2016
Applies to:Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.2.0 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 28-Sep-2015***
In a 10.1.3 clustered environment, when accessing normally to a web application, the user receives some errors caused by Java exceptions:
java.lang.IllegalStateException: Session was invalidated at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].
com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].
This happens in Oracle AS 10.1.3 when in previous version 9.0.4, the application code worked correctly.
By reviewing the code it has been tracked down to Servlet listener sessionDestroyed method that executes:
session = event.getSession();
String data = (String) session.getAttribute("attname");
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms