Source

woocode / sa-auto / conf / resin / resin_b.xml

Full commit
<!--
   - Minimal configuration for starting server using an apache-style
   - document tree in /var/www/htdocs.
   -
   - unix> java -jar lib/resin.jar -root-directory /var/www \
   -            -conf conf/minimal.xml
   -
   - resin.root is /var/www, documents are in /var/www/htdocs.
  -->


<resin xmlns="http://caucho.com/ns/resin"
       xmlns:resin="urn:java:com.caucho.resin">

  <logger name="com.caucho" level="fine"/>

  <logger name="com.caucho.java" level="config"/>
  <logger name="com.caucho.loader" level="config"/>


  <cluster-default>
    <resin:import path="${__DIR__}/app-default.xml"/>
  </cluster-default>

  <cluster id="">

    <server id="b">
      <watchdog-port>6601</watchdog-port>
      <http address="0.0.0.0" port="8001"/>

      <jvm-arg>-Xmx1024m</jvm-arg>
      <jvm-arg>-Xss1m</jvm-arg>
      <jvm-arg>-Xincgc</jvm-arg>
      <jvm-arg>-Xdebug</jvm-arg>


    </server>
    <development-mode-error-page/>

<!--
    <host id='cms.zjxyz.com'>
       <root-directory>log/cms.zjxyz.com</root-directory>
       <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/cms.zjxyz.com">
            <multipart-form upload-max='10M'/>
            <allow-servlet-el/>

            <session-config>
             <session-timeout>1440</session-timeout>
             <session-max>8192</session-max>
             <enable-cookies>true</enable-cookies>
             <enable-url-rewriting>true</enable-url-rewriting>
            </session-config>
        </web-app>
    </host>


    <host id='fe001.fetip.com'>
       <root-directory>log/fe001.fetip.com</root-directory>
       <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/fe001.fetip.com">
            <multipart-form upload-max='2M'/>
            <allow-servlet-el/>
        </web-app>
    </host>

    <host id='cll.zjxyz.com'>
       <root-directory>log/cl.zjxyz.com</root-directory>
       <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/cl">
            <multipart-form upload-max='10M'/>
            <allow-servlet-el/>

            <session-config>
             <session-timeout>1440</session-timeout>
             <session-max>8192</session-max>
             <enable-cookies>true</enable-cookies>
             <enable-url-rewriting>true</enable-url-rewriting>
             <ignore-serialization-errors>true</ignore-serialization-errors>
            </session-config>

        </web-app>
    </host>
-->

    <host id='cms.zjxyz.com'>
       <root-directory>log/cms.zjxyz.com</root-directory>
       <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/cms.zjxyz.com">
            <multipart-form upload-max='10M'/>
            <allow-servlet-el/>
            <session-config>
             <session-timeout>1440</session-timeout>
             <session-max>8192</session-max>
             <enable-cookies>true</enable-cookies>
            </session-config>
        </web-app>
    </host>

<!--
    <host id='ecard.fehot.com'>
       <root-directory>log/ecard.fehot.com</root-directory>
       <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/ecard.fehot.com">
            <multipart-form upload-max='10M'/>
            <allow-servlet-el/>
            <session-config>
             <session-timeout>1440</session-timeout>
             <session-max>8192</session-max>
             <enable-cookies>true</enable-cookies>
            </session-config>
        </web-app>
    </host>

    <host id='cl.zjxyz.com'>
       <root-directory>log/cl.zjxyz.com</root-directory>
       <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/cl">
            <multipart-form upload-max='10M'/>
            <allow-servlet-el/>

            <session-config>
             <session-timeout>1440</session-timeout>
             <session-max>8192</session-max>
             <enable-cookies>true</enable-cookies>
             <enable-url-rewriting>true</enable-url-rewriting>
             <ignore-serialization-errors>true</ignore-serialization-errors>
            </session-config>

        </web-app>
    </host>


    <host id='abc.isd.com'>
        <root-directory>log/abc.isd.com</root-directory>
        <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/abc.isd.com">
            <multipart-form upload-max='10M'/>
            <allow-servlet-el/>
        </web-app>
    </host>


    <host id='kms.zjxyz.com'>
        <root-directory>log/kms.zjxyz.com</root-directory>
        <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/kms.zjxyz.com">
            <multipart-form upload-max='10M'/>
            <allow-servlet-el/>
        </web-app>
    </host>

    <host id='haoma.fetip.com'>
        <root-directory>log/haoma.fetip.com</root-directory>
       <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/fehot.com">
            <allow-servlet-el/>
        </web-app>
    </host>


    <host id='au.zjxyz.com'>
        <root-directory>log/au.zjxyz.com</root-directory>
        <access-log path="log/access.log" 
            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
            rollover-period="1W"/>
        <web-app id='/' root-directory="/apps/java/webapps/au">
            <multipart-form upload-max='10M'/>
            <allow-servlet-el/>
        </web-app>
    </host>
  -->

  </cluster>

</resin>