首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

resin 配备

2012-06-29 
resin 配置resin xmlnshttp://caucho.com/ns/resin xmlns:resinhttp://caucho.com/ns/resin/core

resin 配置

<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 name="" level="info" 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>10s</dependency-check-interval>  <javac compiler="internal" args="-source 1.6"/>  <cluster id="app-tirea">    <root-directory>.</root-directory>    <server-default>           <jvm-arg>-server</jvm-arg>      <jvm-arg>-Xms4096M</jvm-arg>      <jvm-arg>-Xmx4096M</jvm-arg>      <jvm-arg>-Xmn2048M</jvm-arg>      <jvm-arg>-Xss256k</jvm-arg>      <jvm-arg>-XX:PermSize=512M</jvm-arg>      <jvm-arg>-XX:MaxPermSize=1024M</jvm-arg>      <jvm-arg>-XX:SurvivorRatio=8</jvm-arg><jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>      <jvm-arg>-Dcom.sun.management.jmxremote.port=9996</jvm-arg><jvm-arg>-Dcom.sun.management.jmxremote.ssl=false</jvm-arg>      <jvm-arg>-Dcom.sun.management.jmxremote.authenticate=false</jvm-arg><jvm-arg>-Djava.rmi.server.hostname=192.168.1.0</jvm-arg>      <memory-free-min>1M</memory-free-min>      <thread-max>4096</thread-max>      <socket-timeout>60s</socket-timeout>      <keepalive-max>1024</keepalive-max>      <keepalive-timeout>60s</keepalive-timeout>      <watchdog-port>11045</watchdog-port>    </server-default>    <web-app-default>      <prologue>        <class-loader>          <tree-loader path="${resin.root}/ext-webapp-lib"/>        </class-loader>        <allow-servlet-el/>      </prologue>            <cache-mapping url-pattern="/" expires="5s"/>      <cache-mapping url-pattern="*.gif" expires="60s"/>      <cache-mapping url-pattern="*.jpg" expires="60s"/>      <cache-mapping url-pattern="*.png" expires="60s"/>            <session-config>        <enable-cookies>true</enable-cookies>        <enable-url-rewriting>true</enable-url-rewriting>      </session-config>            <jsp>        <validate-taglib-schema>true</validate-taglib-schema>        <fast-jstl>true</fast-jstl>      </jsp>        <security-constraint>        <web-resource-collection url-pattern="/resin-status/*"/>      </security-constraint>    </web-app-default>    <resin:import path="${resin.home}/conf/app-default.xml"/>    <server id="" address="127.0.0.1" port="12056">                <http address="*" port="80"/>    </server><host regexp="(.*):80" root-directory=".">        <web-app id="/" root-directory="/home/deploy/WebRoot">  </web-app><web-app id="/resin-admin" root-directory="${resin.home}/php/admin">        <prologue>           <resin:set var="resin_admin_user" value="admin"/>           <resin:set var="resin_admin_password" value="password"/>          <resin:set var="resin_admin_external" value="true"/>          <resin:set var="resin_admin_insecure" value="true"/>        </prologue>      </web-app> </host> </cluster></resin>
?

热点排行