Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13203

Mail threads are not stopped properly on webapp shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 8.0, 8.1-milestone-1, 7.4.3
    • 7.4.2
    • Mail
    • None
    • Unknown
    • N/A
    • N/A

    Description

      This is causing the following warning in Tomcat when XWiki is stopped:

      10-Mar-2016 15:49:45.820 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [xwiki] appears to have started a thread named [Mail Prepare Thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
       java.lang.Thread.sleep(Native Method)
       org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:82)
       java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: