Details
-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
JBossAS-5.1.0.GA
-
None
-
None
Description
Main includes a Map<String, String> "props" which is used as a source of configuration information. In the Main constructor, this map is populated from the contents of the system properties. But during processCommandLine() any -D values are not added to the "props" map. Effect is adding something like -Djboss.bind.address=0.0.0.0 to JAVA_OPTS in run.conf works but passing it as a command line argument does not.
This is a minor issue; from the command line just use the command line switch that equates to the system property, e.g. -b 0.0.0.0