# 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 # How often Resin should check for updated files. # dependency_check_interval : 5m # Enable /resin-doc Resin documentation #resin_doc : true #resin_doc_host : localhost # 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 # ------------------------------------------------ # Currrent Web Ports so leaving them as is for # Resin4 also. # ------------------------------------------------ # app-1 6901 - LM * # app-2 6902 - RAM # app-3 6903 - LEGD # app-4 6904 - SMS # app-5 6905 - CMS # app-6 6906 - Marketing Matrix # ------------------------------------------------ web_servers : 10.0.0.70:6901 # app-tier Triad servers: app-0 app-1 app-2 # ------------------------------------------------ # Currrent App Ports so leaving them as is for # Resin4 also. # ------------------------------------------------ # app-1 6808 - LM * # app-2 6818 - RAM # app-3 6828 - LEGD # app-4 6848 - SMS # app-5 6867 - CMS # app-6 6833 - Marketing Matrix # ------------------------------------------------ #app_servers : 10.0.0.70:6808 10.0.0.71:6808 10.0.0.72:6808 10.0.0.73:6808 app_servers : 10.0.0.70:6808 10.0.0.71:6808 10.0.0.73:6808 # Configures Resin for a memcached server tier # memcached-tier Triad servers: memcached-0 memcached-1 memcached-2 # memcached_servers : 127.0.0.1:6820 # memcached_port : 11211 # proxycache tier: proxycache-0 proxycache-1 proxycache-2 # proxycache_servers : 127.0.0.1:6830 # backend_servers : 127.0.0.1:80 # Arg passed directly to the JVM # ------------------------------------------------ # Currrent Java Ports so leaving them as is for # Resin4 also. # ------------------------------------------------ # app-1 9911 - LM * # app-2 9922 - RAM # app-3 9933 - LEGD # app-4 9944 - SMS # app-5 9955 - CMS # app-6 9998 - Marketing Matrix # ------------------------------------------------ jvm_args : -XX:+DisableExplicitGC -XX:+HeapDumpOnOutOfMemoryError -Xms1536M -Xmx6144M -XX:MaxPermSize=512m -Dcom.sun.management.jmxremote.port=9911 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Djava.rmi.server.hostname=10.0.0.70 -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Dlog4j.configuration=file:/usr/local/resin40/conf/log4j.xml -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl jvm_mode : -server # 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 # Used for an elastic server to join the cluster in home_cluster #elastic_server : true # Create a distinct webapps/ directory for each server, for vertical scaling #elastic_webapp : true # Used for cloud servers with dynamic IP addresses where the DNS name for the # server is assigned after the server starts. Resin will retry the start. #elastic_dns : true # specifies the --server in the config file home_server : app-0 # 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 # ------------------------------------------------ # Currrent http & https ports # Note! Do not use 8080 and 8443 as they are taken # by Sonicwall Colo # ------------------------------------------------ # app-1 8081/8444 - LM * # app-2 8082/8445 - RAM # app-3 8083/8446 - LEGD # app-4 8084/8447 - SMS # app-5 8085/8448 - CMS # app-6 8086/8449 - Marketing Matrix # ------------------------------------------------ app-0.http : 8081 app-1.http : 8081 app-2.http : 8081 #app-3.http : 8081 app-0.https : 8444 app-1.https : 8444 app-2.https : 8444 #app-3.https : 8444 web.http : 80 web.https : 8443 #memcached.http : 8080 #memcached.https : 8443 # proxycache.http : 8080 # proxycache.https : 8443 # For security, Resin can switch to a non-root user after binding to port 80 setuid_user : setuid_group : # 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 # keepalive_max : 512 # Enable JNI TCP speed optimizations tcp_cork : true sendfile : true keepalive_select_enable : 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 : true # Sets the proxy cache memory size # proxy_cache_size : 256m # Enable clustered persistent sessions (for failover) # session_store : true # disable the quercus *.php mapping when using Apache for PHP # quercus_disable : 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 : srikanth.pulikonda@legalmatch.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 remote admin (for remote CLI and for EC2 ext: triad discovery) # remote_admin_enable : true remote_cli_enable : true # Enable /resin-admin web administration console web_admin_enable : true web_admin_host : # Permit access to /resin-admin from non-local network ip-addresses web_admin_external : true # Require HTTPS to access /resin-admin web_admin_ssl : false # Enable Resin REST Admin rest_admin_enable : true # Require SSL for REST Admin rest_admin_ssl : false # 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}4xHtTmsSim/1KDtmgdpjgeB+UEIFKbRP admin_remote_enable : true # Enable reading EC2 user data as resin properties # properties_import_url : http://169.254.169.254/latest/user-data