[jboss-jira] [JBoss JIRA] Closed: (JBAS-7122) Handling of system properties in org.jboss.Main is inconsistent
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Sun Feb 21 09:54:10 EST 2010
[ https://jira.jboss.org/jira/browse/JBAS-7122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry closed JBAS-7122.
----------------------------------
Fix Version/s: (was: JBossAS-6.0.0.M3)
Resolution: Out of Date
See JBAS-7705.
> 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
>
> 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