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

Description of ServiceBindingSet override bindings parameter is inaccurate

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: No Release
    • Component/s: None
    • Labels:
      None

      Description

      An example of setting ServiceBindingSet bindings:

      <bean name="Ports03Bindings" class="org.jboss.services.binding.impl.ServiceBindingSet">
      <constructor>
      <!-- The name of the set -->
      <parameter>ports-03</parameter>
      <!-- Default host name -->
      <parameter>${jboss.bind.address}</parameter>
      <!-- The port offset -->
      <parameter>400</parameter>
      <!-- Set of bindings to which the "offset by X" approach can't be applied -->
      <parameter>
      <set elementClass="org.jboss.services.binding.ServiceBindingMetadata">
      <bean class="org.jboss.services.binding.ServiceBindingMetadata">
      <property name="serviceName">jboss.web:service=WebServer</property>
      <property name="port">8700</property>
      <property name="description">JBoss Web HTTP connector socket; also drives the values for the HTTPS and AJP sockets
      </property>
      <property name="serviceBindingValueSourceConfig"><inject bean="JBossWebConnectorXSLTConfig"/></property>
      </bean>
      </set>
      </parameter>
      </constructor>
      </bean>

      This comment needs to be fixed:

      [code]<!-- Set of bindings to which the "offset by X" approach can't be applied -->[/code]

      Should be something more like this:

      [code]<!-- Set of bindings that are specific to this ServiceBindingSet -->[/code]

      The comment is inaccurate because the "offset by X" approach is applied. Users should add

      <property name="fixedPort">true</property> to the ServiceBindingMetadata to disable the offset binding.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brian.stansberry Brian Stansberry
                Reporter:
                brian.stansberry Brian Stansberry
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: