Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
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
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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 org.mortbay.xml.XmlConfiguration

ssl.KeyManagerFactory.algorithm

SunX509

Used by the org.mortbay.jetty.security.SslSocketConnector to obtain a javax.net.ssl.KeyManager

ssl.TrustManagerFactory.algorithm

SunX509

Used by the org.mortbay.jetty.security.SslSocketConnector to obtain a javax.net.ssl.TrustManager

org.mortbay.util.FileResource.checkAliases

true

If set to false, Jetty will allow requests for files that involve symbolic links or aliases

org.mortbay.http.PathMap.separators

:,

Characters that can be used to separate multiple paths that map to some object

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

org/mortbay/start/start.config

Path to customized startup file


FAQ
Back to FAQ


  • No labels
Contact the core Jetty developers at www.webtide.com
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