java.lang.IllegalStateException: The session tracking modes for context / cannot be set whilst the context is running

Stack Overflow | Jugu | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to configure programatically the session tracking modes for Tomcat

    Stack Overflow | 6 months ago | Jugu
    java.lang.IllegalStateException: The session tracking modes for context / cannot be set whilst the context is running

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The session tracking modes for context / cannot be set whilst the context is running

      at org.apache.catalina.core.ApplicationContext.setSessionTrackingModes()
    2. Glassfish Core
      ApplicationContextFacade.setSessionTrackingModes
      1. org.apache.catalina.core.ApplicationContext.setSessionTrackingModes(ApplicationContext.java:1235)
      2. org.apache.catalina.core.ApplicationContextFacade.setSessionTrackingModes(ApplicationContextFacade.java:611)
      2 frames