Changeset 8d2eff76


Ignore:
Timestamp:
Nov 24, 2012 7:56:58 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f57f49c3
Parents:
009b0bf
Message:

fix jetty system properties

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/RouterConsoleRunner.java

    r009b0bf r8d2eff76  
    110110    private static final int MAX_IDLE_TIME = 90*1000;
    111111    private static final String THREAD_NAME = "RouterConsole Jetty";
    112    
    113     static {
    114         System.setProperty("org.mortbay.http.Version.paranoid", "true");
    115     }
    116112   
    117113    /**
     
    301297        //}
    302298        // This way it doesn't try to load Slf4jLog first
    303         System.setProperty("org.mortbay.log.class", "net.i2p.jetty.I2PLogger");
     299        System.setProperty("org.eclipse.jetty.util.log.class", "net.i2p.jetty.I2PLogger");
    304300
    305301        // so Jetty can find WebAppConfiguration
  • router/java/src/net/i2p/router/Router.java

    r009b0bf r8d2eff76  
    129129        // The default is true, unfortunately it was previously
    130130        // set to false in wrapper.config thru 0.7.10 so we must set it back here.
    131         System.setProperty("org.mortbay.util.FileResource.checkAliases", "true");
     131        // Not in Jetty 7
     132        //System.setProperty("org.mortbay.util.FileResource.checkAliases", "true");
    132133    }
    133134   
Note: See TracChangeset for help on using the changeset viewer.