java.lang.IllegalStateException: HttpServletRequestHolder.bind() called for a thread that already has a request associated with it. It's likely that the request was not correctly removed from the thread before it is put back into the thread pool.

Google Groups | Marcin Grzejszczak | 3 years 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

    Togglz filter IllegalStateException

    Google Groups | 3 years ago | Marcin Grzejszczak
    java.lang.IllegalStateException: HttpServletRequestHolder.bind() called for a thread that already has a request associated with it. It's likely that the request was not correctly removed from the thread before it is put back into the thread pool.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      HttpServletRequestHolder.bind() called for a thread that already has a request associated with it. It's likely that the request was not correctly removed from the thread before it is put back into the thread pool.

      at org.togglz.servlet.util.HttpServletRequestHolder.bind()
    2. org.togglz.servlet
      TogglzFilter.doFilter
      1. org.togglz.servlet.util.HttpServletRequestHolder.bind(HttpServletRequestHolder.java:22)[togglz-servlet-2.0.0.Final.jar:na]
      2. org.togglz.servlet.util.HttpServletRequestHolderListener.begin(HttpServletRequestHolderListener.java:25)[togglz-servlet-2.0.0.Final.jar:na]
      3. org.togglz.servlet.CompositeRequestListener.begin(CompositeRequestListener.java:36)[togglz-servlet-2.0.0.Final.jar:na]
      4. org.togglz.servlet.TogglzFilter.doFilter(TogglzFilter.java:97)[togglz-servlet-2.0.0.Final.jar:na]
      4 frames
    3. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)[web-core.jar:3.1.2.1-SNAPSHOT]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)[web-core.jar:3.1.2.1-SNAPSHOT]
      2 frames
    4. org.togglz.servlet
      TogglzFilter.doFilter
      1. org.togglz.servlet.TogglzFilter.doFilter(TogglzFilter.java:100)[togglz-servlet-2.0.0.Final.jar:na]
      1 frame
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)[web-core.jar:3.1.2.1-SNAPSHOT]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)[web-core.jar:3.1.2.1-SNAPSHOT]
      2 frames