Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-700

"swarm.port.offset" not working

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Done
    • 2016.9
    • 2016.10.0
    • core
    • 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.

      Attachments

        Activity

          People

            emag_jira Yoshimasa Tanabe (Inactive)
            emag_jira Yoshimasa Tanabe (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: