Affects: Release Notes project_key: JBEWS Advertising in mod_cluster doesn't work in mixed IPv4/IPv6 setting. Specifically, I have this configuration: {code:title=.../conf.d/mod_cluster.conf|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE} LoadModule slotmem_module modules/mod_slotmem.so LoadModule manager_module modules/mod_manager.so LoadModule proxy_cluster_module modules/mod_proxy_cluster.so LoadModule advertise_module modules/mod_advertise.so MemManagerFile "/home/test/jboss-ews-2.0/httpd/cache/mod_cluster" <IfModule manager_module> Listen 6666 LogLevel debug <VirtualHost 127.0.0.1:6666> <Directory /> Order deny,allow Deny from all Allow from all </Directory> KeepAliveTimeout 60 MaxKeepAliveRequests 0 ServerAdvertise on AdvertiseFrequency 5 ManagerBalancerName qacluster AdvertiseGroup 224.0.1.105:25533 #AdvertiseGroup [ff01::1]:25533 EnableMCPMReceive <Location /mcm> SetHandler mod_cluster-manager Order deny,allow Deny from all Allow from all </Location> </VirtualHost> </IfModule> {code} This works just fine, I can see advertising using {{java Advertize 224.0.1.105 25533}} both on RHEL 5 and RHEL 6 (on RHEL 5, I have to add {{-Djava.net.preferIPv4Stack=true}}). If I change the {{AdvertiseGroup}} setting to the IPv6 one (it's commented out in the listing above), it stops working on RHEL 6. "Stops working" means I can no longer see it advertise using {{java Advertize \[ff01::1\] 25533}}. It still works just fine on RHEL 5. I can see these messages in {{error_log}}: {code:title=.../logs/error_log|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE} ... [Thu Oct 04 04:58:45 2012] [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [Thu Oct 04 04:58:45 2012] [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. ... {code} These messages look like MODCLUSTER-290, but it is in different setting (mixed IPv4 and IPv6). I have one RHEL 5 box and one RHEL 6 box from Beaker where I can reproduce this issue -- ask me if you want access.
Link: Added: This issue relates to JBPAPP-9551
It is MODCLUSTER-290.
Fair enough. But MODCLUSTER-290 is set to be fixed in 1.2.1.Beta1 and this still happens in EWS 2.0.0-CR1.
See JBPAPP-9087. it requires a patch in apr are you sure you have the latest version of apr?
https://bugzilla.redhat.com/show_bug.cgi?id=824515
Sorry, I didn't notice JBPAPP-9087. I didn't realize that native mod_cluster libraries use system-wide {{apr}} in EWS. Looks like the patch for {{apr}} was already delivered in RHEL 6.2, but not yet in 6.3 -- which is the one I installed. Once again, sorry for bugging you.
In RHEL 6.3 is regression in apr libraries => this issue is still there, in repository is the newest apr-devel/apr-util-devel in version 1.3.9-3.el6_1.2
Fix is available in apr-devel-1.3.9-5.el6_2, which is not installable from repository => not available for customer in default, he needs to have subscription to RHN channel to get this version
Information about this should be added to release notes as known issue
Release Notes Docs Status: Added: Documented as Known Issue Affects: Added: Release Notes
Release Notes Docs Status: Removed: Documented as Known Issue Added: Not Yet Documented
Assigning to Weinan to follow up. Weinan, can you also check on a VM to see if that particular build is available from base RHEL? Looks like it should be available in base RHEL 6.
If user is registered to RHN channel then he is able to get update of the apr libraries to version containing fix.
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Known Issue
Writer: Added: mhusnain
Release Notes Text: Added: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available with Red Hat Enterprise Linux 5 and 6 through the RHN channels.
Added Release Note. Can someone confirm if the following part of the note is accurate: This occurs due to an old version of the apr library available with Red Hat Enterprise Linux 5 and 6 through the RHN channels.
No it is not correct. this is only issue of RHEL 6
Release Notes Text: Removed: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available with Red Hat Enterprise Linux 5 and 6 through the RHN channels. Added: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available with Red Hat Enterprise Linux 6 through the RHN channels.
Thanks, Radhim. Now corrected.
Still not entirely, you can get new version which repairs the bug from RHN channel => thereby if you retrieve apr via RHN channel it is already without this bug. This error is only with apr version which you are able to get without subscription to RHN channel.
Release Notes Text: Removed: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available with Red Hat Enterprise Linux 6 through the RHN channels. Added: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available in Red Hat Enterprise Linux 6. As a workaround, use RHN to get the package apr-devel-1.3.9-5.el6_2 or newer, which fixes this problem.
Release Notes Text: Removed: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available in Red Hat Enterprise Linux 6. As a workaround, use RHN to get the package apr-devel-1.3.9-5.el6_2 or newer, which fixes this problem. Added: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available in Red Hat Enterprise Linux 6. As a workaround, use RHN to get the package apr-devel-1.3.9-5.el6_2 or newer, which fixes this problem. Users without access to RHN cannot access the apr package version that fixes this problem
[~mhusnain] This error doesn't occur only in mixed IPv4/IPv6 setting environment, but also in only IPv6 environment as is also visible from referenced JIRAs in comments
Release Notes Text: Removed: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available in Red Hat Enterprise Linux 6. As a workaround, use RHN to get the package apr-devel-1.3.9-5.el6_2 or newer, which fixes this problem. Users without access to RHN cannot access the apr package version that fixes this problem Added: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when IPv6 is used by itself and when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available in Red Hat Enterprise Linux 6. As a workaround, use RHN to get the package apr-devel-1.3.9-5.el6_2 or newer, which fixes this problem. Users without access to RHN cannot access the apr package version that fixes this problem
Release Notes Docs Status: Removed: Documented as Known Issue Writer: Removed: mhusnain Release Notes Text: Removed: When using JBoss Enterprise Web Server with Red Hat Enterprise Linux 5 and 6, advertising using mod_cluster fails when IPv6 is used by itself and when a mixed protocol setting (IPv4 and IPv6) is used. The following error message displays in the error_log: [error] (22)Invalid argument: mod_advertise: ma_group_join apr_mcast_hops failed [error] (22)Invalid argument: mod_advertise: multicast join failed for ff01::1:25533. This occurs due to an old version of the apr library available in Red Hat Enterprise Linux 6. As a workaround, use RHN to get the package apr-devel-1.3.9-5.el6_2 or newer, which fixes this problem. Users without access to RHN cannot access the apr package version that fixes this problem Docs QE Status: Removed: NEW
Seems no patch is needed for this bug. I'll update the status of this bug to 'modified' and please verify it during EWS2.0.1 engineering phase.
In fact in EWS we shouldn't be affected our version of apr already has the patch correct?
On RHEL in EWS there is only link to system apr libraries, therefore it depends on version of apr library in the system
This issue is already described in release notes [1] where it is noted what version of apr should be used to make it work as expected. [1] http://documentation-devel.engineering.redhat.com/docs/en-US/JBoss_Enterprise_Web_Server/2/html/2.0.0_Release_Notes/Release_Notes_JBEWS-Known_Issues.html#sect-Known_Issues-General
Verified on system: RHEL6.4-20130130.0 x86_64 apr: libapr-1.so.0.3.9
Added DocText. @Wei Nan Li, can you please review the Doc Text content?
Hi Mandar, I've reviewed the doc and looks good. So I set 'needinfo' to +, for 'requires_doc_text', I don't have permission to set it.
This bug is part of the RH internal group and therefore should not be included in the release notes. I am removing the release notes flag.
I approve.
There has never been any reason for keeping it private anyway.