resin-config

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

       xmlns:resin="http://caucho.com/ns/resin/core">

  <class-loader>

    <tree-loader path="${resin.home}/ext-lib"/>

    <tree-loader path="${resin.root}/ext-lib"/>

    <tree-loader path="${resin.home}/lib"/>

    <tree-loader path="${resin.root}/lib"/>

  </class-loader>

 

  <log-handler name="" level="all" path="stdout:"

               timestamp="[%H:%M:%S.%s] {%{thread}} "/>

  

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

 

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

 

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

 

  <dependency-check-interval>2s</dependency-check-interval>

 

  <system-property mail.smtp.host="127.0.0.1"/>

  <system-property mail.smtp.port="25"/>

 

  <character-encoding>utf-8</character-encoding>

 

  <javac compiler="internal" args="-source 1.5"/>

 

  <cluster id="ghtec">

 

<ping>

      <url>http://localhost:8080/index.jsp</url>

      <mail-to>xchechi123x@126.com</mail-to>

      <mail-from>xchechi123x@126.com</mail-from>

      <mail-subject>Resin ping has failed for server ${server.name}</mail-subject>

    </ping>

<server-header>ghtec web server</server-header>

<resin:if test="${resin.professional}">

      <persistent-store type="cluster">

        <init path="session"/>

      </persistent-store>

    </resin:if>

 

    <resin:if test="${resin.professional}">

      <cache path="cache" memory-size="64M">

        <rewrite-vary-as-private/>

      </cache>

    </resin:if>

 

    <resin:if test="${resin.professional}">

      <ping>

       <url>http://localhost:8080/test-ping.jsp</url>

      </ping>

    </resin:if>

 

<server id="ghtec_app_server" address="127.0.0.1" port="6800">

 <http address="*" port="8080"/>

 

      <jvm-arg>-Xmx512m</jvm-arg>

      <jvm-arg>-Xss1m</jvm-arg> 

 

 

      <memory-free-min>1M</memory-free-min>

 

      <thread-max>256</thread-max>

 

      <socket-timeout>65s</socket-timeout>

 

      <keepalive-timeout>15s</keepalive-timeout>

 

      <resin:if test="${resin.userName == 'root'}">

        <user-name>daemon</user-name>

        <group-name>daemon</group-name>

      </resin:if>

</server>

 

    <resin:import path="conf/app-default.xml"/>

<host id="" root-directory="/opt/webapps/resin/project">

 

      <web-app id="/" root-directory="webapps/oa"/>

 

 <web-app-deploy path="webapps"/>

 

    </host>

  </cluster>

 

</resin>

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值