[jboss-cvs] JBossAS SVN: r103933 - branches/JBPAPP_4_2_0_GA_CP/system/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 13 16:24:29 EDT 2010
Author: rachmatowicz at jboss.com
Date: 2010-04-13 16:24:29 -0400 (Tue, 13 Apr 2010)
New Revision: 103933
Modified:
branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.bat
branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh
Log:
Force use of IPv4 stack (JBPAPP-4084)
Modified: branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.bat
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.bat 2010-04-13 20:04:59 UTC (rev 103932)
+++ branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.bat 2010-04-13 20:24:29 UTC (rev 103933)
@@ -72,6 +72,9 @@
rem JVM memory allocation pool parameters. Modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
+rem Force use of IPv4 stack
+set JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true
+
rem With Sun JVMs reduce the RMI GCs to once per hour
set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
Modified: branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh 2010-04-13 20:04:59 UTC (rev 103932)
+++ branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh 2010-04-13 20:24:29 UTC (rev 103933)
@@ -89,6 +89,9 @@
. "$RUN_CONF"
fi
+# Force use of IPv4 stack
+JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true"
+
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
[ -n "$JBOSS_HOME" ] &&
More information about the jboss-cvs-commits
mailing list