Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 2016.9
    • Fix Version/s: 2016.10.0
    • Component/s: core
    • Labels:
      None

      Description

      The system property "swarm.port.offset" doesn't work for now.

      I found port-offset value is hard-coded with zero in DefaultSocketBindingGroupProducer.

      https://github.com/wildfly-swarm/wildfly-swarm/blob/master/container/src/main/java/org/wildfly/swarm/container/runtime/config/DefaultSocketBindingGroupProducer.java#L35

      It should be passed the system prop like this.

      new SocketBindingGroup(
                      "standard-sockets",
                      "public",
                      SwarmProperties.propertyVar(SwarmProperties.PORT_OFFSET, "0"))
      

      I'll send a p-r later.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                emag Yoshimasa Tanabe
                Reporter:
                emag Yoshimasa Tanabe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: