Skip to content

Instantly share code, notes, and snippets.

@nk23x
Forked from patrick-fitzgerald/start.ini
Last active August 29, 2015 14:08
Show Gist options
  • Save nk23x/0fad445b055e26eebaa2 to your computer and use it in GitHub Desktop.
Save nk23x/0fad445b055e26eebaa2 to your computer and use it in GitHub Desktop.
#===========================================================
# 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
-Dcom.sun.management.jmxremote
-verbose:gc
-Xmx256m
-Xms128m
-verbose:gc
-Djava.rmi.server.hostname=46.51.190.118
-d32
-server
-XX:+UseConcMarkSweepGC
-XX:+PrintGCDetails
-XX:+HeapDumpOnOutOfMemoryError
# -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
#-----------------------------------------------------------
OPTIONS=Server,plus,jmx,jta,jdbc,annotations,jsp,resources,websocket,ext
#-----------------------------------------------------------
#===========================================================
# 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-hightide.xml
# etc/jetty-ssl.xml
# etc/jetty-requestlog.xml
etc/jetty-deploy.xml
etc/jetty-testrealm.xml
etc/jetty-jaas.xml
#===========================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment