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

Stack Overflow | Jugu | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to configure programatically the session tracking modes for Tomcat

    Stack Overflow | 8 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