Bug 820648 - [as7] code that discovers the domain controller address does not handle the --master-port host controller command line option
Summary: [as7] code that discovers the domain controller address does not handle the -...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.4
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: ---
: RHQ 4.5.0
Assignee: Charles Crouch
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin 822172
TreeView+ depends on / blocked
 
Reported: 2012-05-10 15:08 UTC by Ian Springer
Modified: 2015-02-01 23:28 UTC (History)
3 users (show)

Fixed In Version: 4.5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 822172 (view as bug list)
Environment:
Last Closed: 2013-09-01 10:02:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Ian Springer 2012-05-10 15:08:11 UTC
From host.xml:

    <domain-controller>
       <local/>
       <!-- Alternative remote domain controller configuration with a host and port -->
       <!-- <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}" security-realm="Manage
mentRealm"/> -->
    </domain-controller>

From usage of domain.sh:

    --master-address=<address>          Set system property 
                                        jboss.domain.master.address to the 
                                        given value. In a default slave Host 
                                        Controller config, this is used to 
                                        configure the address of the master 
                                        Host Controller.

    --master-port=<port>                Set system property 
                                        jboss.domain.master.port to the given 
                                        value. In a default slave Host 
                                        Controller config, this is used to 
                                        configure the port used for native 
                                        management communication by the master 
                                        Host Controller.


In HostConfiguration.getHostPort(), while parsing the domain controller command line, we check for the --master-address option, but not for the --master-port option.

Comment 1 Ian Springer 2012-05-13 01:49:14 UTC
Fixed in master:

http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=349caa7

Comment 4 Heiko W. Rupp 2013-09-01 10:02:32 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.


Note You need to log in before you can comment on or make changes to this bug.