2007-07-26 16:05:27 +07:00
|
|
|
## -*- shell-script -*- ######################################################
|
|
|
|
## ##
|
|
|
|
## JBoss Bootstrap Script Configuration ##
|
|
|
|
## ##
|
|
|
|
##############################################################################
|
2007-03-04 15:14:08 +07:00
|
|
|
|
2008-11-11 06:54:09 +07:00
|
|
|
### $Id: run.conf 62747 2007-05-02 17:43:36Z dimitris@jboss.org $
|
2007-03-04 15:14:08 +07:00
|
|
|
|
|
|
|
#
|
|
|
|
# This file is optional; it may be removed if not needed.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Specify the maximum file descriptor limit, use "max" or "maximum" to use
|
|
|
|
# the default, as queried by the system.
|
|
|
|
#
|
|
|
|
# Defaults to "maximum"
|
|
|
|
#
|
|
|
|
#MAX_FD="maximum"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Specify the profiler configuration file to load.
|
|
|
|
#
|
|
|
|
# Default is to not load profiler configuration file.
|
|
|
|
#
|
|
|
|
#PROFILER=""
|
|
|
|
|
|
|
|
#
|
|
|
|
# Specify the location of the Java home directory. If set then $JAVA will
|
|
|
|
# be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
|
|
|
|
#
|
|
|
|
#JAVA_HOME="/opt/java/jdk"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Specify the exact Java VM executable to use.
|
|
|
|
#
|
|
|
|
#JAVA=""
|
|
|
|
|
|
|
|
#
|
|
|
|
# Specify options to pass to the Java VM.
|
|
|
|
#
|
|
|
|
if [ "x$JAVA_OPTS" = "x" ]; then
|
2009-04-23 16:54:47 +07:00
|
|
|
JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermGen=128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
|
2007-03-04 15:14:08 +07:00
|
|
|
fi
|
|
|
|
|
|
|
|
# Sample JPDA settings for remote socket debuging
|
2008-11-11 06:54:09 +07:00
|
|
|
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
|
2007-03-04 15:14:08 +07:00
|
|
|
|
2009-04-23 16:54:47 +07:00
|
|
|
# Sample JPDA settings for shared memory debugging
|
2008-11-11 06:54:09 +07:00
|
|
|
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
|