Skip to content

Instantly share code, notes, and snippets.

@Miuler
Last active January 1, 2016 08:29
Show Gist options
  • Save Miuler/8118798 to your computer and use it in GitHub Desktop.
Save Miuler/8118798 to your computer and use it in GitHub Desktop.
Configuration of jetty (8.1.10.v20130312)
#/home/almacen/java/123/jetty-distribution-8.1.10.v20130312/start.ini
#===========================================================
# Jetty start.jar arguments
# Each line of this file is prepended to the command line
# arguments # of a call to:
# java -jar start.jar [arg...]
#===========================================================
#===========================================================
# If the arguements in this file include JVM arguments
# (eg -Xmx512m) or JVM System properties (eg com.sun.???),
# then these will not take affect unless the --exec
# parameter is included or if the output from --dry-run
# is executed like:
# eval $(java -jar start.jar --dry-run)
#
# Below are some recommended options for Sun's JRE
#-----------------------------------------------------------
# --exec
# -Dorg.apache.jasper.compiler.disablejsr199=true
# -Dcom.sun.management.jmxremote
# -Dorg.eclipse.jetty.util.log.IGNORED=true
# -Dorg.eclipse.jetty.LEVEL=DEBUG
# -Dorg.eclipse.jetty.util.log.stderr.SOURCE=true
# -Xmx2000m
# -Xmn512m
# -verbose:gc
# -XX:+PrintGCDateStamps
# -XX:+PrintGCTimeStamps
# -XX:+PrintGCDetails
# -XX:+PrintTenuringDistribution
# -XX:+PrintCommandLineFlags
# -XX:+DisableExplicitGC
# -XX:+UseConcMarkSweepGC
# -XX:ParallelCMSThreads=2
# -XX:+CMSClassUnloadingEnabled
# -XX:+UseCMSCompactAtFullCollection
# -XX:CMSInitiatingOccupancyFraction=80
#-----------------------------------------------------------
#===========================================================
# Start classpath OPTIONS.
# These control what classes are on the classpath
# for a full listing do
# java -jar start.jar --list-options
#-----------------------------------------------------------
# MIULER --------------------------------------------------------------------
#OPTIONS=Server,jsp,jmx,resources,websocket,ext,plus,annotations
OPTIONS=Server,jsp,jmx,resources,websocket,ext,plus,annotations,monitor,spdy
# MIULER --------------------------------------------------------------------
#-----------------------------------------------------------
#===========================================================
# Configuration files.
# For a full list of available configuration files do
# java -jar start.jar --help
#-----------------------------------------------------------
#etc/jetty-jmx.xml
etc/jetty.xml
etc/jetty-annotations.xml
# etc/jetty-ssl.xml
# etc/jetty-requestlog.xml
etc/jetty-deploy.xml
#etc/jetty-overlay.xml
etc/jetty-webapps.xml
etc/jetty-contexts.xml
etc/jetty-testrealm.xml
#===========================================================
# MIULER --------------
etc/jetty-jmx.xml
etc/jetty-stats.xml
etc/jetty-monitor.xml
#etc/jetty-spdy.xml
# MIULER --------------
#=================================================================
# MIULER - para que funcione spring forms
# http://wiki.eclipse.org/Jetty/Howto/Configure_JSP#Compiling_JSPs
-Dorg.apache.jasper.compiler.disablejsr199=true
#=================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment