From 90b7a3fc230a82f419791a512041230709ba0e89 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 7 Oct 2013 12:02:05 -0700 Subject: [PATCH] Use servlet context temp directory from ${jetty.base}/work, not ${jetty.home}/work --- .../main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java index d9ebc2fb9e3..88db011c2ea 100644 --- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java +++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebInfConfiguration.java @@ -293,7 +293,7 @@ public class WebInfConfiguration extends AbstractConfiguration try { // Put the tmp dir in the work directory if we had one - File work = new File(System.getProperty("jetty.home"),"work"); + File work = new File(System.getProperty("jetty.base"),"work"); if (work.exists() && work.canWrite() && work.isDirectory()) { makeTempDirectory(work, context, false); //make a tmp dir inside work, don't delete if it exists