glassfish
  1. glassfish
  2. GLASSFISH-20074

severe message about not cleaning threadlocal after accessing console and then shutdown server

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0_b81
    • Fix Version/s: future release
    • Component/s: admin_gui
    • Labels:
      None

      Description

      Start domain, go to localhost:4848 to access console (this will trigger the console application to be loaded), stop domain, and there are following severe messages:

      [2013-03-27T09:02:41.566-0700] [glassfish 4.0] [SEVERE] [] [javax.enterprise.web.util] [tid: _ThreadID=132 _ThreadName=Thread-24] [timeMillis: 1364400161566] [levelValue: 1000] [[
      The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3f30c487]) and a value of type [org.glassfish.admingui.theme.AdminguiThemeContext] (value [org.glassfish.admingui.theme.AdminguiThemeContext@1ab69b7a]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.]]

      [2013-03-27T09:02:41.569-0700] [glassfish 4.0] [SEVERE] [] [javax.enterprise.web.util] [tid: _ThreadID=132 _ThreadName=Thread-24] [timeMillis: 1364400161569] [levelValue: 1000] [[
      The web application [] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3f30c487]) and a value of type [org.glassfish.admingui.theme.AdminguiThemeContext] (value [org.glassfish.admingui.theme.AdminguiThemeContext@1ab69b7a]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.]]

      Not sure if the messages are of any significance, or if the console team should be the one to take a look. Assign to web team for initial evaluation.

        Issue Links

          Activity

          Hide
          Anissa Lam added a comment -

          AdminguiThemeContext is created when console launch and plugged in either the community theme or the orcale branded one.
          The actual creation of ThreadLocal is in the Woodstock code.
          We are not seeing any ill effect, the msg occurs during domain shutdown and since this is in woodstock code, I am deferring this to 4.0.1.

          Show
          Anissa Lam added a comment - AdminguiThemeContext is created when console launch and plugged in either the community theme or the orcale branded one. The actual creation of ThreadLocal is in the Woodstock code. We are not seeing any ill effect, the msg occurs during domain shutdown and since this is in woodstock code, I am deferring this to 4.0.1.
          Hide
          Shing Wai Chan added a comment -

          The above message indicates that the ThreadLocal object is not cleanup.

          Show
          Shing Wai Chan added a comment - The above message indicates that the ThreadLocal object is not cleanup.

            People

            • Assignee:
              Anissa Lam
              Reporter:
              Hong Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: