Bug 900466 (JBPAPP6-1238)
| Summary: | Installer: option in the ports screen that would provide a choice of offset ports | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Dustin Kut Moy Cheung <dcheung> |
| Component: | Installer | Assignee: | Alex Szczuczko <aszczucz> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | aszczucz, bgeorges, dcheung, thauser, tkirby |
| Target Milestone: | --- | ||
| Target Release: | EAP 6.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBPAPP6-1238 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-11-08 18:49:59 UTC | Type: | Feature Request |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 900502, 900503, 900504 | ||
| Bug Blocks: | 900727 | ||
|
Description
Dustin Kut Moy Cheung
2012-05-18 15:26:36 UTC
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 |