[jboss-cvs] JBossAS SVN: r88389 - branches/Branch_5_x/main/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu May 7 22:37:00 EDT 2009
Author: ispringer
Date: 2009-05-07 22:37:00 -0400 (Thu, 07 May 2009)
New Revision: 88389
Modified:
branches/Branch_5_x/main/src/bin/run-conf.bat
branches/Branch_5_x/main/src/bin/run.conf
Log:
fix a couple typos and improve comments a bit
Modified: branches/Branch_5_x/main/src/bin/run-conf.bat
===================================================================
--- branches/Branch_5_x/main/src/bin/run-conf.bat 2009-05-08 02:27:40 UTC (rev 88388)
+++ branches/Branch_5_x/main/src/bin/run-conf.bat 2009-05-08 02:37:00 UTC (rev 88389)
@@ -13,9 +13,9 @@
rem #
rem #
-rem # Specify the profiler configuration file to load.
+rem # Specify the JBoss Profiler configuration file to load.
rem #
-rem # Default is to not load profiler configuration file.
+rem # Default is to not load a JBoss Profiler configuration file.
rem #
rem set "PROFILER=%JBOSS_HOME%\bin\jboss-profiler.properties"
@@ -34,17 +34,21 @@
rem #
rem # Specify options to pass to the Java VM. Note, there are some additional
-rem # options are always passed by run.bat.
+rem # options that are always passed by run.bat.
rem #
if not "x%JAVA_OPTS%" == "x" goto javaOptsSet
rem # JVM memory allocation pool parameters - modify as appropriate.
set "JAVA_OPTS=-Xms128M -Xmx512M -XX:MaxPermSize=256M"
+
rem # Reduce the RMI GCs to once per hour for Sun JVMs.
set "JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
+
rem # Warn when resolving remote XML DTDs or schemas.
set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true"
-rem # Sample JPDA settings for remote socket debuging
+
+rem # Sample JPDA settings for remote socket debugging
rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
+
rem # Sample JPDA settings for shared memory debugging
rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"
:javaOptsSet
Modified: branches/Branch_5_x/main/src/bin/run.conf
===================================================================
--- branches/Branch_5_x/main/src/bin/run.conf 2009-05-08 02:27:40 UTC (rev 88388)
+++ branches/Branch_5_x/main/src/bin/run.conf 2009-05-08 02:37:00 UTC (rev 88389)
@@ -7,7 +7,9 @@
### $Id$
#
-# This file is optional; it may be removed if not needed.
+# This shell script is sourced by run.sh to initialize the environment
+# variables that run.sh uses. It is recommended to use this file to
+# configure these variables, rather than modifying run.sh itself.
#
#
@@ -19,9 +21,9 @@
#MAX_FD="maximum"
#
-# Specify the profiler configuration file to load.
+# Specify the JBoss Profiler configuration file to load.
#
-# Default is to not load profiler configuration file.
+# Default is to not load a JBoss Profiler configuration file.
#
#PROFILER=""
@@ -29,7 +31,7 @@
# 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"
+#JAVA_HOME="/usr/java/jdk1.6.0"
#
# Specify the exact Java VM executable to use.
@@ -43,8 +45,8 @@
JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
fi
-# Sample JPDA settings for remote socket debuging
+# Sample JPDA settings for remote socket debugging
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
# Sample JPDA settings for shared memory debugging
-#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
+#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"
More information about the jboss-cvs-commits
mailing list