Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-327

Error messages during Tomcat shutdown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.6, 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: build-tools, core
    • Labels:
      None

      Description

      As reported in user ML [1], during shutdown of Tomcat instance with Syncope is deployed, some error messages are logged, like as:

      SEVERE: The web application [/syncope] appears to have started a thread named [pool-7-thread-1] but has failed to stop it. This is very likely to create a memory leak.
      SEVERE: The web application [/syncope] appears to have started a thread named [H2 Close Delay SYNCOPEDB] but has failed to stop it. This is very likely to create a memory leak.
      SEVERE: The web application [/syncope] appears to have started a thread named [H2 Close Delay SYNCOPEDB] but has failed to stop it. This is very likely to create a memory leak.
      SEVERE: The web application [/syncope] created a ThreadLocal with key of type [org.apache.syncope.core.persistence.beans.AbstractBaseBean$1] (value [org.apache.syncope.core.persistence.beans.AbstractBaseBean$1@70ef798d]) and a value of type [java.text.SimpleDateFormat] (value [java.text.SimpleDateFormat@8a9df5fb]) 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.
      SEVERE: The web application [/syncope] created a ThreadLocal with key of type [org.apache.syncope.core.persistence.beans.AbstractBaseBean$1] (value [org.apache.syncope.core.persistence.beans.AbstractBaseBean$1@70ef798d]) and a value of type [java.text.SimpleDateFormat] (value [java.text.SimpleDateFormat@f67a0200]) 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.

      [1] http://markmail.org/message/3rznykqdwsuh6nhc

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: