Ignore:
Timestamp:
Jun 15, 2009 3:22:51 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
58660be
Parents:
3ee09df
Message:
  • i2psnark build:
    • Move FetchAndAdd? to static inner class
    • Remove duplicate classes from i2psnark.war (120KB); fixes sporadic FetchAndAdd? IllegalAccessError?
    • Fix standalone build to include i2psnark.jar since classes aren't in the .war anymore
    • Have standalone jetty use I2PAppContext temp directory
    • Replace launch-i2psnark.jar with launch-i2psnark script, since RunStandalone? is in i2p.jar
    • Clean up jetty-i2psnark.xml, turn off jetty logging
    • Remove standalone build from the pkg target in the main build.xml
File:
1 edited

Legend:

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

    r3ee09df r2ca0ae7  
    22<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd">
    33
     4<!-- =============================================================== -->
     5<!-- This is the configuration for a standalone i2psnark and         -->
     6<!-- jetty instance connecting to a router in another jvm.           -->
     7<!-- Run it with the launch-i2psnark script.                         -->
     8<!-- i2psnark will be accessed at http://127.0.0.1:8002/             -->
     9<!-- =============================================================== -->
    410
    511<!-- =============================================================== -->
     
    1319
    1420  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    15   <!-- Add and configure a HTTP listener to port 8080                  -->
     21  <!-- Add and configure a HTTP listener to port 8002                  -->
    1622  <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    1723  <Call name="addListener">
     
    2430          </New>
    2531        </Arg>
    26         <Set name="MinThreads">3</Set>
     32        <Set name="MinThreads">1</Set>
    2733        <Set name="MaxThreads">10</Set>
    2834        <Set name="MaxIdleTimeMs">30000</Set>
     
    3440    </Arg>
    3541  </Call>
    36 
    37 
    38   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    39   <!-- Add a HTTPS SSL listener on port 8443                           -->
    40   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    41   <!-- UNCOMMENT TO ACTIVATE
    42   <Call name="addListener">
    43     <Arg>
    44       <New class="org.mortbay.http.SunJsseListener">
    45         <Set name="Port">8443</Set>
    46         <Set name="PoolName">main</Set>
    47         <Set name="Keystore"><SystemProperty name="jetty.home" default="."/>/etc/demokeystore</Set>
    48         <Set name="Password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
    49         <Set name="KeyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
    50         <Set name="NonPersistentUserAgent">MSIE 5</Set>
    51       </New>
    52     </Arg>
    53   </Call>
    54   -->
    55 
    56   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    57   <!-- Add a AJP13 listener on port 8009                               -->
    58   <!-- This protocol can be used with mod_jk in apache, IIS etc.       -->
    59   <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    60   <!--
    61   <Call name="addListener">
    62     <Arg>
    63       <New class="org.mortbay.http.ajp.AJP13Listener">
    64         <Set name="PoolName">ajp</Set>
    65         <Set name="Port">8009</Set>
    66         <Set name="MinThreads">3</Set>
    67         <Set name="MaxThreads">20</Set>
    68         <Set name="MaxIdleTimeMs">0</Set>
    69         <Set name="confidentialPort">443</Set>
    70       </New>
    71     </Arg>
    72   </Call>
    73   -->
    74 
    7542
    7643  <!-- =============================================================== -->
     
    9360
    9461  <!-- =============================================================== -->
    95   <!-- Configure the Request Log                                       -->
    96   <!-- =============================================================== -->
    97   <Set name="RequestLog">
    98     <New class="org.mortbay.http.NCSARequestLog">
    99       <Arg>./logs/yyyy_mm_dd.i2psnark-request.log</Arg>
    100       <Set name="retainDays">90</Set>
    101       <Set name="append">true</Set>
    102       <Set name="extended">false</Set>
    103       <Set name="buffered">false</Set>
    104       <Set name="LogTimeZone">GMT</Set>
    105     </New>
    106   </Set>
    107 
    108   <!-- =============================================================== -->
    10962  <!-- Configure the Other Server Options                              -->
    11063  <!-- =============================================================== -->
Note: See TracChangeset for help on using the changeset viewer.