project_key: JBPAPP6 [11:17:26] < fnasser-mtg> I need you guys to think about an option in the ports screen that would provide a choice: [11:17:37] < fnasser-mtg> 1) default numbers [11:17:46] < fnasser-mtg> 2) default numbers with +1 offset [11:17:55] < fnasser-mtg> 3) Default numbers with +100 offset [11:18:03] < fnasser-mtg> 4) Spefified offset [11:18:44] < fnasser-mtg> (add entry box with max 65535 positive integer [11:20:54] < fnasser-mtg> This will allow one to easily install an alternate server that runs in parallel with the one that may already be running in the system
There is a configuration for the port-offset; see the xsd for the socket-binding-group element. IMHO it makes more sense to expose that in the installer than to have the installer itself calculate a bunch of offsets and then change all the individual port numbers.
Thanks Brian for the suggestion! That actually simplifies a lot our task! :)
Brian: I don't see a port-offset attribute on the socket-binding-group element for domain.xml. So, does the offset only apply to standalone or can we add a port-offset attribute in domain.xml?
Dustin, See socket-binding-group-refType in the xsd -- that's what's used in a managed domain. <xs:complexType name="socket-binding-group-refType"> <xs:attribute name="ref" type="xs:string"> <xs:annotation> <xs:documentation> The socket group to use for the server group or server. </xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="port-offset" type="xs:int" default="0" use="optional"> <xs:annotation> <xs:documentation> Increment to apply to the base port values defined in the referenced socket group to derive the values to use on this server. </xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> In a managed domain, the domain.xml socket-binding-group settings are meant to be applied across the domain. While a port-offset is more server specific. So in the managed domain configurations, the place where the port-offset is configured is on the server-specific configuration elements, either <server-group> in domain.xml or <server> in host.xml. I think the latter would be the more common way to use it.
Brian: Could you look at the screenshot in [this subtask|https://issues.jboss.org/browse/JBPAPP-9108]? What do you think of the design? Thanks.
Link: Added: This issue is a dependency of JBPAPP-8085
Waiting for translations before this JIRA is marked as resolved. Right now all relevant commits have been done and they are in the portOffset branches
Link: Added: This issue is a dependency of JBPAPP-9555
This issue could not make it to EAP6.0.0 because of lack of translations. Hopefully it will make it in EAP 6.1
Link: Removed: This issue is a dependency of JBPAPP-8085
This will appear in EAP 6.1
Docs QE Status: Removed: NEW