Changeset bfc0417


Ignore:
Timestamp:
Apr 2, 2017 6:48:03 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
021067d
Parents:
f390831
Message:

i2psnark: Fix standalone configuration for Jetty 9
Context: Fix ClientAppManagerImpl? in AppContext?,
required for transmission.war in standalone i2psnark

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/jetty-i2psnark.xml

    rf390831 rbfc0417  
    2323  <Call name="addConnector">
    2424    <Arg>
    25         <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
     25        <New class="org.eclipse.jetty.server.ServerConnector">
     26          <Arg><Ref id="Server" /></Arg>
     27          <Arg type="int">1</Arg>     <!-- number of acceptors -->
     28          <Arg type="int">0</Arg>     <!-- default number of selectors -->
     29          <Arg>
     30            <Array type="org.eclipse.jetty.server.ConnectionFactory">    <!-- varargs so we need an array -->
     31              <Item>
     32                <New class="org.eclipse.jetty.server.HttpConnectionFactory">
     33                  <Arg>
     34                    <New class="org.eclipse.jetty.server.HttpConfiguration" />
     35                  </Arg>
     36                </New>
     37              </Item>
     38            </Array>
     39          </Arg>
    2640          <Set name="host">127.0.0.1</Set>
    2741          <Set name="port">8002</Set>
    28           <Set name="maxIdleTime">600000</Set>
    29           <Set name="Acceptors">1</Set>
    30           <Set name="statsOn">false</Set>
    31           <Set name="lowResourcesConnections">5000</Set>
    32           <Set name="lowResourcesMaxIdleTime">5000</Set>
    33           <Set name="useDirectBuffers">false</Set>
     42          <Set name="idleTimeout">600000</Set>
    3443        </New>
    3544    </Arg>
     
    97106      <Call name="addAppProvider">
    98107        <Arg>
    99           <New class="org.eclipse.jetty.deploy.providers.ContextProvider">
     108          <New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
    100109            <Set name="monitoredDirName">./contexts</Set>
    101110            <Set name="scanInterval">0</Set>
  • core/java/src/net/i2p/I2PAppContext.java

    rf390831 rbfc0417  
    10191019     */
    10201020    public ClientAppManager clientAppManager() {
    1021         return null;
     1021        return _appManager;
    10221022    }
    10231023}
  • history.txt

    rf390831 rbfc0417  
     12017-04-02 zzz
     2 * Context: Fix ClientAppManagerImpl in AppContext
     3 * i2psnark: Fix standalone configuration for Jetty 9
     4
    152017-04-01 zzz
    26 * Console: Fix stopping of webapps when console stops (ticket #1893)
  • router/java/src/net/i2p/router/RouterVersion.java

    rf390831 rbfc0417  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 14;
     21    public final static long BUILD = 15;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.