Bug 954017
| Summary: | Feature request: [WFLY-457] Replace mod_cluster proxy-list attribute with list of outbound socket bindings | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Aaron Ogburn <aogburn> |
| Component: | mod_cluster | Assignee: | Radoslav Husar <rhusar> |
| Status: | CLOSED UPSTREAM | QA Contact: | Michal Karm Babacek <mbabacek> |
| Severity: | high | Docs Contact: | Russell Dickenson <rdickens> |
| Priority: | unspecified | ||
| Version: | 6.0.1 | CC: | jdoyle, mbabacek, paul.ferraro, rhusar, rsvoboda |
| Target Milestone: | --- | ||
| Target Release: | TBD EAP 7 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-27 21:32:06 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: | |||
See https://issues.jboss.org/browse/WFLY-457 it is not fixed upstream FYI - https://issues.jboss.org/browse/WFLY-457 is still open and targeted for 9.0.0.CR1 QA NACK as there is no RFE in https://issues.jboss.org/browse/EAP6 and WFLY issue is targeted for next major release. This should be deferred to EAP7. Dear Rado, could you create an EAP7 RFE Jira so as this bugzilla won't slip through the cracks? Thx :-) This is already implemented (9.0.0.Alpha1) so no need for RFE. Closed;Upstream https://issues.jboss.org/browse/WFLY-457 |
Description of problem: mod_cluster only uses the default interface and this currently isn't configurable. Expected results: The proxy-list attribute is improved to allow a desired address/interface to be specified for the Jboss side of the proxy connection. Additional info: What looks to be the cause from org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler: private synchronized Socket getConnection() throws IOException { if ((this.socket == null) || this.socket.isClosed()) { this.socket = this.socketFactory.createSocket(); InetAddress address = this.socketAddress.getAddress(); if ( address instanceof Inet6Address && ((Inet6Address)address).isLinkLocalAddress()) { /* We need to work-around a java6 bug */ InetSocketAddress addr = new InetSocketAddress(address, 0); this.socket.bind(addr); this.socket.connect(this.socketAddress, this.socketTimeout); } else { // no socket bind. socket connected from default interface. this.socket.connect(this.socketAddress, this.socketTimeout); } this.socket.setSoTimeout(this.socketTimeout); this.localAddress = this.socket.getLocalAddress(); } return this.socket; } We need a way to change the bind address of this socket through the configuration of the modcluster subsystem