[jboss-jira] [JBoss JIRA] Created: (JBAS-7122) Handling of system properties in org.jboss.Main is inconsistent
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Jul 24 13:14:29 EDT 2009
Handling of system properties in org.jboss.Main is inconsistent
---------------------------------------------------------------
Key: JBAS-7122
URL: https://jira.jboss.org/jira/browse/JBAS-7122
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-5.1.0.GA
Reporter: Brian Stansberry
Priority: Minor
Fix For: JBossAS-6.0.0.Alpha1
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list