2 Replies Latest reply on Sep 26, 2006 4:36 PM by ryan.campbell

    JBAS-3704, available interface system properties

    starksm64

      http://jira.jboss.com/jira/browse/JBAS-3704

      One problem in testing services binding to specific interfaces is that we don't have a notion of the available interfaces. There is only the jboss.bind.address property which may not be meaningfully defined (0.0.0.0). I think we need a jboss.server.iface.* property set notion that can be set via the testsuite server startup tasks based on either the MYTESTIP_N env vars, or the jdk java.net.NetworkInterface class.

        • 1. Re: JBAS-3704, available interface system properties

          It seems like this could be a standalone task:

          <server:get-addresses prefix="node"/>
          


          Is there a problem with our existing naming convention? I prefer to keep it instead of coming up with yet another property for these values. The node * properties are well known and documented, I'd hate to do all that again.

          I definitely prefer java.net.NetworkInterfafce over hard coding anything using env variables.

          • 2. Re: JBAS-3704, available interface system properties

            So we need to keep the ability for folks to override these properties. We also need to make sure that there are no duplicates if they do. Although the task could complain if an existing node* property contains an invalid IP address.