Cleanup of start properties usages in `jetty-10.0.x` (#10365)
* Cleanup start properties usages Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
000a55f78f
commit
fd88723cad
|
@ -3,7 +3,7 @@
|
||||||
<!-- =============================================================== -->
|
<!-- =============================================================== -->
|
||||||
<!-- Configure the test-jndi webapp -->
|
<!-- Configure the test-jndi webapp -->
|
||||||
<!-- =============================================================== -->
|
<!-- =============================================================== -->
|
||||||
<Configure id='wac' class="org.eclipse.jetty.webapp.WebAppContext">
|
<Configure id="wac" class="org.eclipse.jetty.webapp.WebAppContext">
|
||||||
|
|
||||||
<New id="tx" class="org.eclipse.jetty.plus.jndi.Transaction">
|
<New id="tx" class="org.eclipse.jetty.plus.jndi.Transaction">
|
||||||
<Arg>
|
<Arg>
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
<!-- Define an env entry with Server scope for java:comp/env -->
|
<!-- Define an env entry with Server scope for java:comp/env -->
|
||||||
<New id="woggle" class="org.eclipse.jetty.plus.jndi.EnvEntry">
|
<New id="woggle" class="org.eclipse.jetty.plus.jndi.EnvEntry">
|
||||||
<Arg>
|
<Arg>
|
||||||
<Property name='server' />
|
<Ref refid="Server" />
|
||||||
</Arg>
|
</Arg>
|
||||||
<Arg>woggle</Arg>
|
<Arg>woggle</Arg>
|
||||||
<Arg type="java.lang.Integer">4000</Arg>
|
<Arg type="java.lang.Integer">4000</Arg>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
<!-- Define an env entry with webapp scope for java:comp/env -->
|
<!-- Define an env entry with webapp scope for java:comp/env -->
|
||||||
<New id="wiggle" class="org.eclipse.jetty.plus.jndi.EnvEntry">
|
<New id="wiggle" class="org.eclipse.jetty.plus.jndi.EnvEntry">
|
||||||
<Arg>
|
<Arg>
|
||||||
<Ref refid='wac' />
|
<Ref refid="wac" />
|
||||||
</Arg>
|
</Arg>
|
||||||
<Arg>wiggle</Arg>
|
<Arg>wiggle</Arg>
|
||||||
<Arg type="java.lang.Double">100</Arg>
|
<Arg type="java.lang.Double">100</Arg>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<!-- Mail Session setup -->
|
<!-- Mail Session setup -->
|
||||||
<New id="xxxmail" class="org.eclipse.jetty.plus.jndi.Resource">
|
<New id="xxxmail" class="org.eclipse.jetty.plus.jndi.Resource">
|
||||||
<Arg>
|
<Arg>
|
||||||
<Ref refid='wac' />
|
<Ref refid="wac" />
|
||||||
</Arg>
|
</Arg>
|
||||||
<Arg>mail/Session</Arg>
|
<Arg>mail/Session</Arg>
|
||||||
<Arg>
|
<Arg>
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
<!-- A mock DataSource -->
|
<!-- A mock DataSource -->
|
||||||
<New id="mydatasource" class="org.eclipse.jetty.plus.jndi.Resource">
|
<New id="mydatasource" class="org.eclipse.jetty.plus.jndi.Resource">
|
||||||
<Arg>
|
<Arg>
|
||||||
<Ref refid='wac' />
|
<Ref refid="wac" />
|
||||||
</Arg>
|
</Arg>
|
||||||
<Arg>jdbc/mydatasource</Arg>
|
<Arg>jdbc/mydatasource</Arg>
|
||||||
<Arg>
|
<Arg>
|
||||||
|
|
|
@ -16,9 +16,6 @@ etc/jetty-deploy.xml
|
||||||
[ini-template]
|
[ini-template]
|
||||||
# Monitored directory name (relative to $jetty.base)
|
# Monitored directory name (relative to $jetty.base)
|
||||||
# jetty.deploy.monitoredDir=webapps
|
# jetty.deploy.monitoredDir=webapps
|
||||||
# - OR -
|
|
||||||
# Monitored directory path (fully qualified)
|
|
||||||
# jetty.deploy.monitoredPath=/var/www/webapps
|
|
||||||
|
|
||||||
# Defaults Descriptor for all deployed webapps
|
# Defaults Descriptor for all deployed webapps
|
||||||
# jetty.deploy.defaultsDescriptorPath=${jetty.base}/etc/webdefault.xml
|
# jetty.deploy.defaultsDescriptorPath=${jetty.base}/etc/webdefault.xml
|
||||||
|
|
|
@ -37,4 +37,4 @@ jetty.session.hazelcast.hazelcastInstanceName=JETTY_DISTRIBUTED_SESSION_INSTANCE
|
||||||
jetty.session.hazelcast.useQueries=false
|
jetty.session.hazelcast.useQueries=false
|
||||||
jetty.session.gracePeriod.seconds=3600
|
jetty.session.gracePeriod.seconds=3600
|
||||||
jetty.session.savePeriod.seconds=0
|
jetty.session.savePeriod.seconds=0
|
||||||
#jetty.session.hazelcast.configurationLocation
|
#jetty.session.hazelcast.configurationLocation=
|
||||||
|
|
|
@ -38,5 +38,5 @@ jetty.session.hazelcast.onlyClient=true
|
||||||
jetty.session.hazelcast.useQueries=false
|
jetty.session.hazelcast.useQueries=false
|
||||||
jetty.session.gracePeriod.seconds=3600
|
jetty.session.gracePeriod.seconds=3600
|
||||||
jetty.session.savePeriod.seconds=0
|
jetty.session.savePeriod.seconds=0
|
||||||
#jetty.session.hazelcast.configurationLocation
|
#jetty.session.hazelcast.configurationLocation=
|
||||||
#jetty.session.hazelcast.addresses=
|
#jetty.session.hazelcast.addresses=
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<New id="DebugListener" class="org.eclipse.jetty.server.DebugListener">
|
<New id="DebugListener" class="org.eclipse.jetty.server.DebugListener">
|
||||||
<Arg name="outputStream">
|
<Arg name="outputStream">
|
||||||
<New class="org.eclipse.jetty.util.RolloverFileOutputStream">
|
<New class="org.eclipse.jetty.util.RolloverFileOutputStream">
|
||||||
<Arg type="String"><Property name="jetty.logs" default="./logs"/>/yyyy_mm_dd.debug.log</Arg>
|
<Arg type="String"><Property name="jetty.debug.logs" deprecated="jetty.logs" default="./logs"/>/yyyy_mm_dd.debug.log</Arg>
|
||||||
<Arg type="boolean"><Property name="jetty.debug.append" default="true"/></Arg>
|
<Arg type="boolean"><Property name="jetty.debug.append" default="true"/></Arg>
|
||||||
<Arg type="int"><Property name="jetty.debug.retainDays" default="14"/></Arg>
|
<Arg type="int"><Property name="jetty.debug.retainDays" default="14"/></Arg>
|
||||||
<Arg>
|
<Arg>
|
||||||
|
|
|
@ -43,9 +43,6 @@
|
||||||
<Set name="acceptedTcpNoDelay"><Property name="jetty.http.acceptedTcpNoDelay" default="true"/></Set>
|
<Set name="acceptedTcpNoDelay"><Property name="jetty.http.acceptedTcpNoDelay" default="true"/></Set>
|
||||||
<Set name="acceptedReceiveBufferSize" property="jetty.http.acceptedReceiveBufferSize" />
|
<Set name="acceptedReceiveBufferSize" property="jetty.http.acceptedReceiveBufferSize" />
|
||||||
<Set name="acceptedSendBufferSize" property="jetty.http.acceptedSendBufferSize" />
|
<Set name="acceptedSendBufferSize" property="jetty.http.acceptedSendBufferSize" />
|
||||||
<Get name="SelectorManager">
|
|
||||||
<Set name="connectTimeout"><Property name="jetty.http.connectTimeout" default="15000"/></Set>
|
|
||||||
</Get>
|
|
||||||
</New>
|
</New>
|
||||||
</Arg>
|
</Arg>
|
||||||
</Call>
|
</Call>
|
||||||
|
|
|
@ -36,9 +36,6 @@
|
||||||
<Set name="acceptedTcpNoDelay"><Property name="jetty.ssl.acceptedTcpNoDelay" default="true"/></Set>
|
<Set name="acceptedTcpNoDelay"><Property name="jetty.ssl.acceptedTcpNoDelay" default="true"/></Set>
|
||||||
<Set name="acceptedReceiveBufferSize" property="jetty.ssl.acceptedReceiveBufferSize" />
|
<Set name="acceptedReceiveBufferSize" property="jetty.ssl.acceptedReceiveBufferSize" />
|
||||||
<Set name="acceptedSendBufferSize" property="jetty.ssl.acceptedSendBufferSize" />
|
<Set name="acceptedSendBufferSize" property="jetty.ssl.acceptedSendBufferSize" />
|
||||||
<Get name="SelectorManager">
|
|
||||||
<Set name="connectTimeout" property="jetty.ssl.connectTimeout"/>
|
|
||||||
</Get>
|
|
||||||
</New>
|
</New>
|
||||||
</Arg>
|
</Arg>
|
||||||
</Call>
|
</Call>
|
||||||
|
|
|
@ -23,6 +23,12 @@ etc/jetty-debug.xml
|
||||||
## How many days to retain old log files
|
## How many days to retain old log files
|
||||||
# jetty.debug.retainDays=14
|
# jetty.debug.retainDays=14
|
||||||
|
|
||||||
|
## Should existing log be appended to
|
||||||
|
# jetty.debug.append=true
|
||||||
|
|
||||||
|
## Log directory for jetty debug logs
|
||||||
|
# jetty.debug.logs=./logs
|
||||||
|
|
||||||
## Timezone of the log entries
|
## Timezone of the log entries
|
||||||
# jetty.debug.timezone=GMT
|
# jetty.debug.timezone=GMT
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,6 @@ etc/jetty-gzip.xml
|
||||||
## Minimum content length after which gzip is enabled
|
## Minimum content length after which gzip is enabled
|
||||||
# jetty.gzip.minGzipSize=32
|
# jetty.gzip.minGzipSize=32
|
||||||
|
|
||||||
## Check whether a file with *.gz extension exists
|
|
||||||
# jetty.gzip.checkGzExists=false
|
|
||||||
|
|
||||||
## Inflate request buffer size, or 0 for no request inflation
|
## Inflate request buffer size, or 0 for no request inflation
|
||||||
# jetty.gzip.inflateBufferSize=0
|
# jetty.gzip.inflateBufferSize=0
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,9 @@ etc/jetty.xml
|
||||||
## Max response content write length that is buffered (in bytes)
|
## Max response content write length that is buffered (in bytes)
|
||||||
# jetty.httpConfig.outputAggregationSize=8192
|
# jetty.httpConfig.outputAggregationSize=8192
|
||||||
|
|
||||||
|
## If HTTP/1.x persistent connections should be enabled
|
||||||
|
# jetty.httpConfig.persistentConnectionsEnabled=true
|
||||||
|
|
||||||
## Max request headers size (in bytes)
|
## Max request headers size (in bytes)
|
||||||
# jetty.httpConfig.requestHeaderSize=8192
|
# jetty.httpConfig.requestHeaderSize=8192
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue