mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 17:23:13 +00:00
* Jetty: Don't extract wars
This commit is contained in:
1 parent
e2a39a3eb5
commit
02bde80725
3 files changed
+6
-1
No files matched your search
@@ -415,6 +415,7 @@ public class RouterConsoleRunner {
|
||||
(_listenPort != null ? _listenPort : _sslListenPort));
|
||||
tmpdir.mkdir();
|
||||
rootWebApp.setTempDirectory(tmpdir);
|
||||
rootWebApp.setExtractWAR(false);
|
||||
rootWebApp.setSessionHandler(new SessionHandler());
|
||||
rootServletHandler = new ServletHandler();
|
||||
rootWebApp.setServletHandler(rootServletHandler);
|
||||
|
||||
@@ -101,6 +101,8 @@ public class WebAppStarter {
|
||||
WebAppContext wac = new WebAppContext(warPath, "/"+ appName);
|
||||
tmpdir.mkdir();
|
||||
wac.setTempDirectory(tmpdir);
|
||||
// all the JSPs are precompiled, no need to extract
|
||||
wac.setExtractWAR(false);
|
||||
|
||||
// this does the passwords...
|
||||
RouterConsoleRunner.initialize(wac);
|
||||
|
||||
Reference in new issue
Block a user