In case you see weird errors, I've switched the default ip address binding in
Branch_4_2
from 0.0.0.0 to 127.0.0.1, to see how our testsuites react.
-------- Original Message --------
Subject: [jboss-cvs] JBossAS SVN: r60933 - branches/Branch_4_2/system/src/main/org/jboss.
Date: Tue, 27 Feb 2007 05:51:33 -0500
From: jboss-cvs-commits(a)lists.jboss.org
Reply-To: jboss-cvs-commits(a)lists.jboss.org
To: jboss-cvs-commits(a)lists.jboss.org
Author: dimitris(a)jboss.org
Date: 2007-02-27 05:51:33 -0500 (Tue, 27 Feb 2007)
New Revision: 60933
Modified:
branches/Branch_4_2/system/src/main/org/jboss/Main.java
Log:
JBAS-4119, bind to localhost by default, instead of all NICs ("0.0.0.0")
Modified: branches/Branch_4_2/system/src/main/org/jboss/Main.java
===================================================================
--- branches/Branch_4_2/system/src/main/org/jboss/Main.java 2007-02-27 05:09:32 UTC (rev
60932)
+++ branches/Branch_4_2/system/src/main/org/jboss/Main.java 2007-02-27 10:51:33 UTC (rev
60933)
@@ -261,8 +261,9 @@
Getopt getopt = new Getopt(programName, args, sopts, lopts);
int code;
String arg;
- props.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "0.0.0.0");
- System.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "0.0.0.0");
+ // JBAS-4119, bind to localhost by default, instead of all NICs
("0.0.0.0")
+ props.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "127.0.0.1");
+ System.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "127.0.0.1");
while ((code = getopt.getopt()) != -1)
{
switch (code)
Show replies by date