Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7122

Handling of system properties in org.jboss.Main is inconsistent

    XMLWordPrintable

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: