IllegalStateException When Accessing a Cluster Deployed, Distributable Web Application (Doc ID 374113.1)

Last updated on OCTOBER 13, 2017

Applies to:

Oracle Containers for J2EE - Version: 10.1.3.0.0
Oracle Containers for J2EE - Version: 10.1.3.0.0 to 10.1.3.0.0
Information in this document applies to any platform.
***Checked for relevance on 16-Feb-2010***

Symptoms

Consider a J2EE Web Application (JSP, Servlets etc) which is deployed to an OC4J 10.1.3 cluster group as a distributable application (by configuring the distributable feature using the Clustering properties during deployment). Also, the web.xml for the web application contains the <distributable/> tag.

Now, when using this application, the browser returns a "500 Internal Server Error" for certain session related operations (like invalidating the session etc) and the following error is logged in the standard output log file:

java.lang.IllegalStateException: Session was invalidated
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].server.http.EvermindHttpSession.getId(EvermindHttpSession.java:473)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].server.http.JGroupHttpSession.invalidate(JGroupHttpSession.java:285) at _test._jspService(_test.java:44) [SRC:/test.jsp:12]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)


Cause

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