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

-Djboss.bind.address definition in run.conf ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-5.1.0.GA
    • JBossAS-5.0.0.Beta1, JBossAS-5.0.0.Beta2, JBossAS-4.2.0.GA, JBossAS-4.2.1.GA, JBossAS-4.2.2.GA, JBossAS-4.2.3.GA, JBossAS-5.0.0.CR2, JBossAS-5.0.0.GA, JBossAS-5.0.1.GA, JBossAS-5.1.0.Beta1, JBossAS-5.1.0.CR1
    • None
    • None

    Description

      If -Djboss.bind.address has been defined in bin/run.conf, AS overrides it on startup with:

      props.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "127.0.0.1");
      System.setProperty(ServerConfig.SERVER_BIND_ADDRESS, "127.0.0.1");

      AS should only do this if no -Djboss.bind.address has been defined, in which case, yeah, we wanna bind to localhost.
      Otherwise, it should leave -Djboss.bind.address as defined in run.conf.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: