Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

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_clusterAssignee: Radoslav Husar <rhusar>
Status: CLOSED UPSTREAM QA Contact: Michal Karm Babacek <mbabacek>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.0.1CC: 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:

Description Aaron Ogburn 2013-04-19 21:55:49 UTC
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

Comment 2 Jean-frederic Clere 2013-06-27 06:16:59 UTC
See https://issues.jboss.org/browse/WFLY-457
it is not fixed upstream

Comment 6 Rostislav Svoboda 2014-01-22 10:07:41 UTC
FYI - https://issues.jboss.org/browse/WFLY-457 is still open and targeted for  9.0.0.CR1

Comment 7 Rostislav Svoboda 2014-01-27 11:17:33 UTC
QA NACK as there is no RFE in https://issues.jboss.org/browse/EAP6 and WFLY issue is targeted for next major release.

Comment 8 Paul Ferraro 2014-07-15 15:50:38 UTC
This should be deferred to EAP7.

Comment 9 Michal Karm Babacek 2015-01-20 15:01:12 UTC
Dear Rado, could you create an EAP7 RFE Jira so as this bugzilla won't slip through the cracks?
Thx :-)

Comment 10 Radoslav Husar 2015-01-22 18:01:25 UTC
This is already implemented (9.0.0.Alpha1) so no need for RFE.

Comment 11 Michal Karm Babacek 2015-01-27 21:32:06 UTC
Closed;Upstream
https://issues.jboss.org/browse/WFLY-457