Use servlet context temp directory from ${jetty.base}/work, not ${jetty.home}/work
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 d9ebc2f..88db011 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 @@
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