SECTION: 250-Configuration TITLE: 350System Properties QUESTION: What System Properties can I set for Jetty?

Property Name | Default Value | Description
--- | --- | ---
JRE Properties
java.version | No default | JRE version
java.io.tmpdir | Platform dependent | Default temporary file path
line.separator | Platform dependent | Line separator ("/n" on *nix)
os.arch | Platform dependent | Operating system architecture
os.name | Platform dependent | Name of the operating system
os.version | Platform dependent | Version of the operating system
user.home | Platform dependent | User's home directory
Jetty Properties
jetty.class.path | Not set | Adds extra class directories or jars onto the system classpath at startup
jetty.home | Determined at runtime | Path of the Jetty installation. The start.jar startup method uses an algorithm to search for this location unless this property has been set on the command line
jetty.ssl.keystore |  | See the FAQ entry on SSL
jetty.ssl.keystore.provider.class |  | See the FAQ entry on SSL
jetty.ssl.keystore.provider.name |  | See the FAQ entry on SSL
jetty.ssl.keystore.type |  | See the FAQ entry on SSL
jetty.ssl.keypassword |  | See the FAQ entry on SSL
jetty.ssl.password |  | See the FAQ entry on SSL
org.mortbay.http.HttpRequest.maxFormContentSize | 200000 | Limits the size of the data a client can push at the server
org.mortbay.http.PathMap.separators | :, | Separators used to specify multiple paths as a single string. |
org.mortbay.http.Version.paranoid |  | If `true`, suppresses the Jetty version information in the response's HTTP headers
org.mortbay.jetty.servlet.SessionCookie | JSESSIONID | Name of cookie used for sessions
org.mortbay.jetty.servlet.SessionURL | jsessionid | Name of parameter when using URL rewriting for sessions
org.mortbay.util.ByteArrayPool.pool_size | 8 | Size of pool for recycling byte arrays.
org.mortbay.util.FileResource.checkAliases | true | If set to `false`, Jetty will allow requests for files that involve symbolic links or aliases
org.mortbay.util.TypeUtil.IntegerCacheSize | 600 | Size of cache for converting int and String to Integer
org.mortbay.util.URI.charset | UTF-8 | Character encoding of URLs
org.mortbay.xml.XmlParser.NotValidating | false | If true, validation is not performed on the web.xml file
main.class |  | Specifies the name of the class of the Jetty server to invoke by the start.jar mechanism, overriding the default. For standard Jetty the default is org.mortbay.jetty.Server, for JettyPlus it is org.mortbay.jetty.plus.Server. Defaults are specified in a start.config file. This property used to be called start.class.
JETTY_NO_SHUTDOWN_HOOK | false | If false, a shutdown hook thread is registered with the runtime to stop the server when the runtime is shutdown
POOL_MAX | 256 | Used by the utility class org.mortbay.util.Pool to determine the default max number of items in the pool. Can be overridden by calling setMaxSize(int i). The org.mortbay.util.ThreadPool class uses Pool internally, thus this property can be used to effect the default size of the ThreadPool for servicing requests.
POOL_MIN | 2 | Used by the utility class org.mortbay.util.Pool to determine the minimum number of items in the pool. Can be overriden by calling setMinSize (int i). The org.mortbay.util.ThreadPool class uses Pool internally, thus this property can be used to effect the default minimum size of the ThreadPool for servicing requests.
ROLLOVERFILE_BACKUP_FORMAT | HHmmssSSS | Format for the date string that is appended to files during rollover.
ROLLOVERFILE_RETAIN_DAYS | 31 | Number of days before old request log files will be removed.
START | org/mortbay/start/start.config | Path to customized startup file. Used for example, by JettyPlus.
STOP.KEY | No default | If specified with the start.jar command, a random key is printed on stdout and must be used with the stop.jar command. Security measure to guard against unauthorized stop/starts.
STOP.PORT | 8079 | The local port used to signal to stop the server used with stop.jar. A value of 0 disables the mechanism. See also STOP.KEY
DEBUG | Not set | If true, enables debug messages when used with the Jetty logging plugin for Commons logging. See the FAQ entry on logging.
DEBUG_PATTERNS | No default | Only for use with the Jetty log plugin for Commons logging. Specifies a list of patterns for classnames for which to generate debug messages. See the FAQ entry on logging and the tutorial.
DEBUG_VERBOSE | 0 | Set to a positive integer value, enables both trace and debug level messages. Set to 0, only debug messages are enabled. Only for use with the Jetty logging plugin for Commons logging.See the FAQ entry on logging and the tutorial.
Other
org.apache.commons.logging.LogFactory | org.mortbay.log.Factory | Property used by the Apache Commons Logging API to specify the classname of the LogFactory implementation. This property is set in the start.config file. For standard Jetty, it is the Jetty log implemenation org.mortbay.log.Factory. For JettyPlus, it is the Log4J implementation.