[
https://jira.jboss.org/jira/browse/JBAS-7206?page=com.atlassian.jira.plug...
]
Brian Stansberry reassigned JBAS-7206:
--------------------------------------
Assignee: Brian Stansberry
Description of ServiceBindingSet override bindings parameter is
inaccurate
--------------------------------------------------------------------------
Key: JBAS-7206
URL:
https://jira.jboss.org/jira/browse/JBAS-7206
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Brian Stansberry
Assignee: Brian Stansberry
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira