Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1172

jspwiki.workDir default should be in $javax.servlet.context.tempdir

    XMLWordPrintableJSON

Details

    Description

      Currently the default of jspwiki.workDir is java.io.tmpdir

      On Unix this is often /tmp and space limited, sometimes in ramdisk.

      A better default would be the container default temp directory for each context whose location is pointed to by the context variable javax.servlet.context.tempdir

      http://timjansen.github.io/jarfiller/guide/servlet25/temporarydirectory.xhtml

      The change would have to be done in

      org.apache.wiki.WikiEngine.createAndFindWorkingDirectory(Properties)

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              weberjn Jürgen Weber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: