Jürgen Weber created JSPWIKI-1172:
-------------------------------------

             Summary: jspwiki.workDir default should be in 
$javax.servlet.context.tempdir
                 Key: JSPWIKI-1172
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1172
             Project: JSPWiki
          Issue Type: Improvement
          Components: Core & storage
    Affects Versions: 2.11.2
            Reporter: Jürgen Weber


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)

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to