Server

From CauchoWiki

Jump to: navigation, search


The <server> directive occurs in the <resin> top-level directive. It allows any Environment configuration.

Multiple <server> directives are allowed as long as they have different id values.

directive meaning default
Environment Any Environment directive is allowed in the <server>
access-logserver-wide access log configuration
alternate-session-url-prefixnone
bind-ports-after-start false
cache configures the Proxy Cache (Resin Professional only)
cluster configures the server's cluster
<connection-error-page> error page to use when IIS cannot connect to Resin (3.0.19)
ear-default default configuration for .ear files
enable-select-manager enables the poll/select management of keepalive connections false
environment-system-propertiesenvironment-specific System.getProperties true
error-page server-wide error page configuration
httpconfigures a http port
hostconfigures a virtual host
host-defaultconfigures default for all virtual hosts
host-deployconfigures a deployment directory for virtual host archives
id""
invocation-cache-sizesize of the invocation cache16k
invocation-cache-max-url-lengthmaximum length of a cacheable URL1024
ignore-client-disconnectif true, absorb ClientDisconnectException
keepalive-maxthe maximum number of keepalive sockets
keepalive-timeoutmaximum time a keepalive thread will wait for a new request
<persistent-store>configures the persistent store
pingconfigures relability checking (Resin Professional only)
portconfigures a custom port listener
rewrite-dispatch|Dispatches requests based on the URL
root-directorythe root directory for the server$SERVER_ROOT
server-headerconfigures the value of the HTTP "Server:" headerResin/3.0.x
session-cookieconfigures the servlet session cookie nameJSESSIONID
ssl-session-cookieconfigures the cookie to use for SSL connectionsJSESSIONID
session-url-prefixconfigures the URL rewriting prefix;jsessionid=
url-character-encodingconfigures the character encoding of URLsUTF-8
web-app-defaultconfigures server-wide defaults for all web-apps
Personal tools