HttpSession is invalid error on weblogic server 12.1.2 — oracle-tech

    Forum Stats

  • 3,702,028 Users
  • 2,239,548 Discussions
  • 7,835,719 Comments

Discussions

HttpSession is invalid error on weblogic server 12.1.2

edited November 2019 in Java Enterprise Edition

Hello,

We are using weblogic server 12.1.2. We have 6 J2EE applications are installed on that weblogic server. we are seeing "HttpSession is invalid". Here is the stack trace.

<BEA-100025> <An unexpected error occurred in the HTTP session timeout callback while deleting sessions.

java.lang.IllegalStateException: HttpSession is invalid

  at weblogic.servlet.internal.session.SessionData.getInternalAttribute(SessionData.java:650)

  at weblogic.servlet.internal.session.SessionData.getInternalAttribute(SessionData.java:645)

  at weblogic.servlet.internal.session.SessionData.hasSavedPostData(SessionData.java:865)

  at weblogic.servlet.internal.session.SessionContext$SavePostSessionInvalidator.shouldIgnoreChecking(SessionContext.java:767)

  at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.cleanupExpiredSessions(SessionContext.java:699)

  at weblogic.servlet.internal.session.SessionContext$SessionInvalidator$1.run(SessionContext.java:620)

  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

  at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

  at weblogic.servlet.internal.session.SessionContext$SessionInvalidator.timerExpired(SessionContext.java:615)

  at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:304)

  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)

  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

  at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

Any Idea why we are getting this error?

Answers

  • 10307271030727 Posts: 3
    edited June 2015

    I am having the same trouble as well with 12.1.2

    We used ADF framework and Jdeveloper 12.1.2 to construct our application and departmental constraints mean that we use basic authentication and login is handled external to the application at the F5 gateway.

    We use Active Directory to assign group permissions.

    In web.xml we set our session timeout to 30 minutes and this matches the F5 timeout.

    I was a bit suspicious that this model is causing our Http session invalidations.

    How do you do your authentication and manage timeouts?

  • user9527395user9527395 Posts: 1
    edited January 2016

    There is a known bug in 12.1.2 and 12.1.3 that causes this.  Log in to Oracle support and search for Doc ID 2037902.1 to get the patch or upgrade to WLS 12.2.1+

  • AbrahamStalinAbrahamStalin Posts: 6
    edited January 2016

    the session was invalidated manual?

  • WNejlaWNejla Posts: 2
    edited November 2019

    Hi , I have the same issue . Did anyone find a soluton for this error please?

  • WNejlaWNejla Posts: 2
    edited November 2019

    Hi , I have the same issue . Did anyone find a solution for this error please?

  • User_68WSHUser_68WSH Posts: 1 Newbie

    Hello, I have the same issue, is there a solution please?

    WebLogic Server Version: 12.1.3.0.0

    Error 500--Internal Server Error

    java.lang.IllegalStateException: HttpSession is invalid
    	at weblogic.servlet.internal.session.SessionData.check(SessionData.java:466)
    	at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:421)
    	at jsp_servlet._pages._dynamic.__index._jspService(__index.java:507)
    	at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
    	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
    	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
    	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
    	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
    	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
    	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:600)
    	at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:483)
    	at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:162)
    	at jsp_servlet._pages.__index._jspService(__index.java:75)
    	at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
    	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
    	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
    	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
    	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
    	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    	at com.fisa.render.core.filter.ChangePasswordFilter.doFilter(ChangePasswordFilter.java:67)
    	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    	at com.fisa.render.core.filter.InitDataFilter.doFilter(InitDataFilter.java:71)
    	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    	at com.fisa.render.core.filter.DeviceCheckFilter.doFilter(DeviceCheckFilter.java:90)
    	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    	at com.fisa.render.core.filter.CatalinaSSOCookieFilter.doFilter(CatalinaSSOCookieFilter.java:98)
    	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    	at com.fisa.render.core.filter.UniqueWindowFilter.doFilter(UniqueWindowFilter.java:37)
    	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    	at com.fisa.render.core.filter.UniqueSessionVerifierFilter.doFilter(UniqueSessionVerifierFilter.java:77)
    	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3431)
    	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3397)
    	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    	at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2280)
    	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2196)
    	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1621)
    	at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:256)
    	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
    	at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
    


Sign In or Register to comment.