Hi,

Hazelcast 3.2.3, which will be shipped with Carbon 4.3.0, will not work if
you set localhost/127.0.0.1 as the localMemberHost. Instead, you need to
set the machine's local IP address. We need to test further to see whether
this works if we set hostnames instead of IP address in this version.
Otherwise, this is an annoyance when testing.

I debugged the code, and this looks like a bug in Hazelcast. See the
relevant method that creates the hz local member address [1]. It ignores
port if the IP is localhost/127.0.0.1. This was not the case in Hz 3.0.1.

[1]
http://grepcode.com/file/repo1.maven.org/maven2/com.hazelcast/hazelcast/3.2-RC1/com/hazelcast/instance/DefaultAddressPicker.java#DefaultAddressPicker.getPublicAddress%28com.hazelcast.config.Config%2Cint%29

Thanks,
KasunG

-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to