375709 Ensure resolveTempDirectory failure does not deadlock; improve error message

This commit is contained in:
Jan Bartel 2012-04-11 12:37:51 +10:00
parent 6ec1594010
commit f81ea12320
1 changed files with 2 additions and 1 deletions

View File

@ -305,7 +305,8 @@ public class WebInfConfiguration extends AbstractConfiguration
} }
catch(IOException e) catch(IOException e)
{ {
LOG.warn("tmpdir",e); System.exit(1); tmpDir = null;
throw new IllegalStateException("Cannot create tmp dir in "+System.getProperty("java.io.tmpdir")+ " for context "+context,e);
} }
} }
} }