<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>