青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

隨筆 - 298  文章 - 377  trackbacks - 0
<2013年1月>
303112345
6789101112
13141516171819
20212223242526
272829303112
3456789

常用鏈接

留言簿(34)

隨筆分類

隨筆檔案

文章檔案

相冊

收藏夾

搜索

  •  

最新評論

閱讀排行榜

評論排行榜

<!--
   - Resin 4.0 configuration file.
  
-->
<resin xmlns="http://caucho.com/ns/resin"
       xmlns:resin
="urn:java:com.caucho.resin">

  
<!-- property-based Resin configuration -->
  
<resin:properties path="${__DIR__}/resin.properties" optional="true"/>
  
<resin:properties path="cloud:/resin.properties"
                    optional
="true" recover="true"/>


  
<resin:if test="${properties_import_url}">
     
<resin:properties path="${properties_import_url}"
                    optional
="true" recover="true"/>
  
</resin:if>


  
<!-- Logging configuration for the JDK logging API -->
  
<log-handler name="" level="all" path="stdout:"
               timestamp
="[%y-%m-%d %H:%M:%S.%s]"
               format
=" {${thread}} ${log.message}"/>
               
  
<!-- 
     - Alternative pseudo-TTCC log format
     -
     - <log-handler name="" level="all" path="stdout:"
     -           timestamp="%y-%m-%d %H:%M:%S.%s"
     -           format=" [${thread}] ${log.level} ${log.shortName} - ${log.message}"/>
    
-->
   
  
<!--
     - level='info' for production
     - 'fine' or 'finer' for development and troubleshooting
    
-->
  
<logger name="" level="${log_level?:'info'}"/>

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

  
<!--
     - Default configuration applied to all clusters, including
     - HTTP, HTTPS, and /resin-admin configuration.
    
-->
  
<resin:import path="${__DIR__}/cluster-default.xml"/>
  
  
<!--
     - health configuration
    
-->
  
<resin:import path="${__DIR__}/health.xml"/>

  
  
<!--
     - Remote management requires at least one enabled admin user.
    
-->
  
<resin:AdminAuthenticator>
    
<user name="${admin_user}" password="${admin_password}"/>
    
    
<resin:import path="${__DIR__}/admin-users.xml" optional="true"/>
    
<resin:import path="cloud:/admin-users.xml" optional="true" recover="true"/>
  
</resin:AdminAuthenticator>

  
<!--
     - For clustered systems, create a password in as cluster_system_key
    
-->
  
<cluster-system-key>${cluster_system_key}</cluster-system-key>

  
<!--
     - For production sites, change dependency-check-interval to something
     - like 600s, so it only checks for updates every 10 minutes.
    
-->
  
<dependency-check-interval>${dependency_check_interval?:'2s'}</dependency-check-interval>

  
<!-- For resin.properties dynamic cluster joining -->
  
<home-cluster>${home_cluster}</home-cluster>
  
<!-- <home-server>${home_server}</home-server> -->



  
<!--
     - Configures the main application cluster.  Load-balancing configurations
     - will also have a web cluster.
    
-->
  
<cluster id="app">
    
<!-- define the servers in the cluster -->
    
<server-multi id-prefix="app-" address-list="${app_servers}" port="6800">
        
<http id="" port="8080"/>
    
</server-multi>


    
<host-default>
      
<!-- creates the webapps directory for .war expansion -->
      
<web-app-deploy path="webapps"
                      expand-preserve-fileset
="WEB-INF/work/**"
                      multiversion-routing
="${webapp_multiversion_routing}"/>
    
</host-default>

    
<!-- auto virtual host deployment in hosts/foo.example.com/webapps -->
    
<host-deploy path="hosts"/>

    
<!-- the default host, matching any host name -->
    
<host id="" root-directory=".">
      
<!--
         - webapps can be overridden/extended in the resin.xml
        
-->
      
<web-app id="/" root-directory="webapps/ROOT"/>
      
      
<resin:if test="${resin_doc}">
        
<web-app id="/resin-doc" root-directory="${resin.root}/doc/resin-doc"/>
      
</resin:if>

      
<web-app id="/sp" root-directory="F:/develop/Java/provision/web"/>
    
</host>
  
</cluster>

  
<cluster id="web">
    
<!-- define the servers in the cluster -->
    
<server-multi id-prefix="web-" address-list="${web_servers}" port="6810"/>

    
<host id="" root-directory="web">
      
<web-app id="">
        
<resin:LoadBalance regexp="" cluster="app"/>        
      
</web-app>
    
</host>
  
</cluster>

  
<cluster id="memcached" xmlns:memcache="urn:java:com.caucho.memcache">
    
<!-- define the servers in the cluster -->
    
<server-multi id-prefix="memcached-" address-list="${memcached_servers}" port="6820">
      
<!-- listen for the memcache protocol -->
      
<listen port="${memcached_port?:11211}"
              keepalive-timeout
="600s" socket-timeout="600s">
        
<memcache:MemcachedProtocol/>
      
</listen>
    
</server-multi>
  
</cluster>

   
<cluster id="app-1">
     
<!-- sets the content root for the cluster, relative to server.root -->
     
<root-directory>.</root-directory>
 
    
<resin:import path="${resin.home}/conf/app-default.xml"/>

    
<!-- configures a deployment directory for virtual hosts -->
     
<host-deploy path="hosts">
       
<host-default>
          
<access-log path="logs/app1-access.log"
             format
='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
             rollover-period
="1D"/>
         
<resin:import path="host.xml" optional="true"/>
       
</host-default>
     
</host-deploy>
 
    
<server id="app1" port="6801">
       
<http id="" port="9010"/>
     
</server>
     
<host id="" root-directory=".">
     
<log name="" level="info" path="log/stdout_app1.log" timestamp="[%H:%M:%S.%s] "
      archive-format
="stdout_app1.log.%Y-%m-%d.gz"
      rollover-period
="1D"/>
 
      
<web-app id="/" root-directory="F:/develop/Java/provision/web"/>
     
</host>
   
</cluster>



   
<cluster id="app-2">
     
<!-- sets the content root for the cluster, relative to server.root -->
     
<root-directory>.</root-directory>
 
    
<resin:import path="${resin.home}/conf/app-default.xml"/>
 
    
<!-- configures a deployment directory for virtual hosts -->
     
<host-deploy path="hosts">
       
<host-default>
          
<access-log path="logs/app2-access.log"
             format
='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
             rollover-period
="1D"/>
         
<resin:import path="host.xml" optional="true"/>
       
</host-default>
     
</host-deploy>
 
    
<server id="app2" port="6802">
       
<http id="" port="9020"/>
     
</server>
     
<host id="" root-directory=".">
     
<log name="" level="info" path="log/stdout_app2.log" timestamp="[%H:%M:%S.%s] "
      archive-format
="stdout_app2.log.%Y-%m-%d.gz"
      rollover-period
="1D"/>
 
      
<web-app id="/" root-directory="F:/develop/Java/provision/web"/>
     
</host>
   
</cluster>

  
<!--resin:set var="resin_admin_external" value="true"/--> 
</resin>


CMD:
resin cluster app gui
resin -server app1 start   or   resin -server app1 gui
resin -server app2 start   or   resin -server app2 gui

F:\develop\Java\resin\resin-pro-4.0.28>resin -cluster app start
Resin
/4.0.28 launching watchdog at 127.0.0.1:6600
Resin
/4.0.28 started with watchdog at 127.0.0.1:6600

F:\develop\Java\resin\resin
-pro-4.0.28>


posted on 2012-06-21 12:09 聶文龍 閱讀(1241) 評論(1)  編輯 收藏 引用

FeedBack:
# re: Resin 4 2012-06-21 13:07 聶文龍
# resin.properties - configuration variable values
#
# See resin.xml, cluster-default.xml, and health.xml for full configuration.
# Any variable defined by ${...} can be set as a property in this file.
#
# Individual server overrides can be specified by prepending the server.id.
# For example, increasing the log level for an individual server:
#
# log_level : info
# app-0.log_level : finest
#
# Like Resin XML configuration, modification of this file will trigger a restart.
#

# General log level (modify resin.xml for more granular log level adjustments)
# log_level : finer

# Enable verbose browser error reporting
dev_mode : true

# Enable /resin-doc Resin documentation
resin_doc : true

# List Triad server ip-addresses:hmux-port for each tier, space separated
# App tier Triad servers must be listed to enable web-tier to app-tier load-balancing

# web-tier Triad servers: web-0 web-1 web-2
# web_servers :

# app-tier Triad servers: app-0 app-1 app-2
app_servers : 127.0.0.1:6800
app-1 : 127.0.0.1:6801
app-2 : 127.0.0.1:6802

# Configures Resin for a memcached server tier
# memcached-tier Triad servers: memcached-0 memcached-1 memcached-2
# memcached_servers :
# memcached_port : 11211

# Allow elastic nodes to join the cluster (enable for cloud mode)
# elastic_cloud_enable : true

# The cluster that elastic nodes should join - each will contact a Triad server
# Use a separate resin.properties file for each cluster
home_cluster : app
app1 : app-1
app2 : app-2

# Set HTTP and HTTPS bind address
# http_address : *

# Set HTTP and HTTPS ports.
# Use overrides for individual server control, for example: app-0.http : 8081
#http : 8080
app-0.http : 44405
app-1.http : 44406
app-2.http : 44407
# https : 8443

# For security, Resin can switch to a non-root user after binding to port 80
setuid_user :
setuid_group :

# Arg passed directly to the JVM
# jvm_args : -Xmx2048m -XX:MaxPermSize=256m

# Local URLs for the watchdog to check to ensure the server is up, space separated
# http_ping_urls : http://127.0.0.1/test.jsp

# Throttle the number of active threads for a port
port_thread_max : 256
accept_thread_max : 32
accept_thread_min : 4

# Enable JNI TCP speed optimizations
tcp_cork : true
sendfile : true

# OpenSSL certificate configuration
# Keys are typically stored in the resin configuration directory.
# openssl_file : keys/test.crt
# openssl_key : keys/test.key
# openssl_password : changeme

# JSSE certificate configuration
# Keys are typically stored in the resin configuration directory.
# jsse_keystore_type : jks
# jsse_keystore_file : /etc/resin/keys/server.keystore
# jsse_keystore_password : changeme

# In absence of a signed certificate, Resin will fallback to using a
# self-signed development certificate if HTTPS is enabled

# Enable the proxy-cache - for caching static content in memory
proxy_cache_enable: false

# Sets the proxy cache memory size
# proxy_cache_size : 256m

# Enable clustered persistent sessions (for failover)
session_store : true

# Web-apps named with numeric suffixes, e.g. foo-10.0.war and can be browsed as
# /foo. When a new version of the web-app is deployed, Resin continues to route
# active session requests to the previous web-app version while new sessions
# go to the new version, so users will not be aware of the application upgrade.
# webapp_multiversion_routing : true

# Set the email address to receive weekly and restart PDF reports
# email : admin@example.com

# Set a global password to prevent foreign Resin instances from connecting.
# Must be identical between web, app, and cache clusters.
# cluster_system_key : changeme

# Enable command-line remote admin (required for remote deploy)
# remote_cli_enable : true

# Enable /resin-admin web administration console
web_admin_enable : true

# Permit access to /resin-admin from non-local network ip-addresses
# web_admin_external : true

# Require HTTPS to access /resin-admin
# web_admin_ssl : true

# Enable Resin REST Admin
# rest_admin_enable : true

# Require SSL for REST Admin
# rest_admin_ssl : true

# Access to /resin-admin and remote CLI is password restricted.
# Use "resinctl generate-password" and copy/paste here to set the admin
admin_user : admin
admin_password : {SSHA}xxxxxxxx

# Enable reading EC2 user data as resin properties
# properties_import_url : http://169.254.169.254/latest/user-data

#admin_external : true
#admin_secure : true  回復(fù)  更多評論
  

只有注冊用戶登錄后才能發(fā)表評論。
網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
      <noscript id="pjuwb"></noscript>
            <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
              <dd id="pjuwb"></dd>
              <abbr id="pjuwb"></abbr>
              欧美日韩国产首页在线观看| 亚洲免费高清| 亚洲国产精品高清久久久| 美女黄毛**国产精品啪啪| 91久久久久久久久| 亚洲一二三区视频在线观看| 国产精品日韩在线播放| 久久激情视频久久| 亚洲黄网站黄| 午夜在线电影亚洲一区| 一区二区三区在线视频播放| 欧美激情在线有限公司| 亚洲一区二区视频在线观看| 免费不卡视频| 亚洲五月婷婷| 国产一区视频在线看| 欧美激情一区二区三区成人| 亚洲免费综合| 亚洲国产精品成人综合| 欧美自拍偷拍| 亚洲美女中文字幕| 国产亚洲一区二区在线观看| 欧美激情导航| 久久国产一二区| 99av国产精品欲麻豆| 蜜臀久久99精品久久久画质超高清| 在线视频你懂得一区| 激情欧美一区二区| 国产精品久久久久一区| 美女任你摸久久| 午夜精品久久久久久久99樱桃| 亚洲国语精品自产拍在线观看| 久久成人人人人精品欧| 一本色道久久| 亚洲国产一区二区三区高清| 国产精品亚洲一区二区三区在线| 欧美成年人在线观看| 欧美一区二区三区免费观看| 亚洲免费观看高清完整版在线观看熊| 美女黄网久久| 欧美中文字幕视频在线观看| 一区二区三区蜜桃网| 亚洲国产成人av在线| 国产综合精品一区| 国产精品男人爽免费视频1 | 亚洲综合色激情五月| 亚洲电影免费| 麻豆久久婷婷| 久久精品道一区二区三区| 亚洲欧美一区二区三区久久| 夜夜爽99久久国产综合精品女不卡| 有坂深雪在线一区| 国产综合激情| 国产永久精品大片wwwapp| 国产精品亚洲аv天堂网| 国产精品av久久久久久麻豆网| 欧美va天堂va视频va在线| 久久久久久伊人| 久久av资源网站| 欧美在线视屏| 久久精品男女| 久久激情综合| 久久另类ts人妖一区二区| 久久av一区二区三区亚洲| 欧美一区二区精品久久911| 亚洲综合三区| 午夜欧美大尺度福利影院在线看| 亚洲免费中文| 欧美亚洲在线播放| 欧美在线你懂的| 久久九九免费视频| 久久久噜噜噜| 美脚丝袜一区二区三区在线观看| 免费高清在线视频一区·| 麻豆成人在线观看| 欧美福利网址| 欧美视频一区二区在线观看| 国产精品国产自产拍高清av| 国产精品日韩久久久久| 国产精品亚洲综合一区在线观看| 国产精品一页| 在线成人激情| 亚洲精品视频一区二区三区| 亚洲婷婷在线| 久久都是精品| 欧美激情一二区| 亚洲第一精品福利| 亚洲伦理中文字幕| 亚洲专区在线| 久久久久久夜| 欧美日韩国产精品成人| 国产女精品视频网站免费| 激情久久综艺| 一区二区三区精品久久久| 欧美一区午夜视频在线观看| 久久亚裔精品欧美| 亚洲国产精品一区二区久| 中文一区二区在线观看| 欧美在线视频免费观看| 欧美大秀在线观看| 国产精品最新自拍| 永久免费毛片在线播放不卡| 在线性视频日韩欧美| 欧美影院成人| 亚洲国产一区在线观看| 亚洲男人的天堂在线观看| 久久综合中文色婷婷| 欧美日韩一区二区三区免费| 国内精品久久久久影院 日本资源| 亚洲精品国产精品国自产观看浪潮| 亚洲一区精品电影| 欧美成人四级电影| 亚洲影院在线| 欧美精品一区二区三区在线看午夜 | 欧美风情在线| 国产视频一区在线观看| 亚洲靠逼com| 久久久久成人精品免费播放动漫| 亚洲黄网站黄| 久久精品国产99国产精品| 欧美日韩亚洲激情| 亚洲国产成人精品视频| 欧美在线亚洲| 亚洲免费观看| 久久综合九色综合网站| 国产欧美日韩亚洲| 这里只有精品视频| 欧美va亚洲va国产综合| 性色av一区二区怡红| 欧美特黄一级| 99精品国产在热久久| 欧美丰满少妇xxxbbb| 欧美一区二区视频观看视频| 欧美日韩亚洲视频一区| 亚洲精品乱码久久久久久蜜桃麻豆 | 亚洲免费av观看| 久久在线精品| 国产一区二区三区四区hd| 亚洲欧美日韩爽爽影院| 亚洲免费不卡| 欧美激情综合色| 亚洲人被黑人高潮完整版| 蜜桃av噜噜一区| 欧美有码在线观看视频| 国产欧美日韩亚州综合| 欧美亚洲色图校园春色| 一区二区高清视频| 欧美日韩午夜在线| 在线一区亚洲| 亚洲精品中文字幕有码专区| 欧美激情欧美狂野欧美精品 | 99香蕉国产精品偷在线观看| 欧美激情第10页| 亚洲美女电影在线| 91久久精品国产91性色| 欧美寡妇偷汉性猛交| 亚洲欧洲一区二区在线观看| 亚洲高清免费| 欧美成人小视频| 亚洲毛片在线观看| 亚洲激情视频在线播放| 欧美激情视频在线免费观看 欧美视频免费一 | 欧美资源在线观看| 欧美淫片网站| 在线电影一区| 欧美福利电影网| 欧美激情成人在线| 一区二区三区成人精品| 一本久道久久综合婷婷鲸鱼| 欧美少妇一区| 性刺激综合网| 久久激情综合网| 亚洲品质自拍| 日韩一本二本av| 国产精品男gay被猛男狂揉视频| 欧美一区二区三区视频在线观看| 午夜精品久久久久影视| 一区二区视频欧美| 亚洲国产乱码最新视频| 欧美日韩在线一区二区三区| 亚洲欧美一区二区三区极速播放 | 亚洲国产日韩在线| 亚洲人精品午夜在线观看| 国产精品videosex极品| 久久精品夜色噜噜亚洲a∨| 久久久噜噜噜久久久| 99re8这里有精品热视频免费| 在线性视频日韩欧美| 国产一区再线| 亚洲毛片av| 国产丝袜一区二区| 亚洲国产美女| 国产精品免费电影| 你懂的一区二区| 国产精品高潮久久| 欧美成人一区二区三区在线观看 | 一区二区三区视频免费在线观看| 国产精品一区免费观看| 欧美激情国产日韩| 国产毛片一区|