private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
What SystemProperties does Jetty use?
We're trying to move away as much as possible from the use of System Properties to configure Jetty. In general, Jetty provides setter methods to configure behaviour and only uses System Properties to provide default values. Here are the System Properties that are still in use:
Property Name |
Default Value |
Description |
|---|---|---|
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.server |
None |
The fully qualified name of the class whose main() method to execute after the start.jar mechanism has finished configuring classpaths etc. This property is not usually used, as the preferred way of setting this classname is in the /org/mortbay/start/start.config file. The default start.config file shipped in start.jar sets the classname to be |
ssl.KeyManagerFactory.algorithm |
SunX509 |
Used by the |
ssl.TrustManagerFactory.algorithm |
SunX509 |
Used by the |
org.mortbay.util.FileResource.checkAliases |
true |
Sets alias checking for the whole container. If |
org.mortbay.http.PathMap.separators |
:, |
Characters that can be used to separate multiple paths that map to some object |
org.mortbay.jetty.webapp.parentLoaderPriority |
false |
Sets the classloading model for all webapps. Use WebAppContext.setParentLoaderPriority(boolean) for individual webapps. See also Classloading |
org.mortbay.jetty.servlet.SessionCookie |
SESSIONID |
Name of cookie used for sessions |
org.mortbay.jetty.servlet.SessionURL |
jsessionid |
Name of parameter when using URL rewriting for sessions |
org.mortbay.jetty.servlet.MaxAge |
-1 |
The default max age of a Session cookie if no override is specified in the ServletContext initParameter |
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 |
ROLLOVERFILE_BACKUP_FORMAT |
HHmmssSSS |
Format for the date string that is appended to files during rollover |
ROLLOVERFILE_DATE_FORMAT |
yyyy_MM_dd |
Format for the time string appended to rollover files |
ROLLOVERFILE_RETAIN_DAYS |
31 |
Number of days for which rollover log files are retained before being deleted. |
STOP.KEY |
None |
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. See also Running and Stopping Jetty |
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 Running and Stopping Jetty |
START |
jar: file:/start.jar!/org/mortbay/start/start.config |
Path to customized startup file. See A look at the start.jar mechanism |