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

Temporary files created are not deleted on JVM crash or Tomcat 7 service shutdown.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.1-milestone-2
    • 3.5, 4.0
    • Old Core
    • None
    • Tomcat 7, Java 6, XWiki Enterprise 3.5
    • temp files jvm crash not removed
    • Medium

    Description

      When shutting down Tomcat 7, or if the JVM were to crash XWiki leaves behind temporary files created in java.io.tmpdir by the XWikiAttachmentConent class.

      A fix might be to create an xwiki-temp subdirectory for temporary files under the java.io.tmpdir and then just clear that out on re-start?

      Attachments

        Activity

          People

            calebjamesdelisle CalebJamesDeLisle
            jamiem Jamie Maher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: