Hi all,

When clustering is enabled with debug logs are enabled for hazelcast (via
logging-bridge.properties), the following error message is displayed
(entire error message available in JIRA [1]):

WARN {com.hazelcast.instance.Node} -  [127.0.0.1]:0 [wso2.carbon.domain]
[unknown] ManagementCenterService could not be constructed!
java.lang.IllegalArgumentException: version string 'unknown' is not valid


This happens when in the hazelcast, "hazelcast.version" and
"hazelcast.build" are null. This value is set in hazelcast in
HazelCastUtil.java [2] from System properties. If it is not defined in
system properties, then it tries to get the value from
"hazelcast-runtime.properties".  Therefore in order to fix this issue, we
need to either set the above mentioned to values in the system properties
or by including the "hazelcast-runtime.properties" in hazelcast
3.2.6.wso2v1 pom [3]. Is this correct? Please advice.


[1] - https://wso2.org/jira/browse/CARBON-15027
[2] -
https://github.com/hazelcast/hazelcast/blob/v3.2.6/hazelcast/src/main/java/com/hazelcast/util/HazelcastUtil.java
[3] -
https://github.com/wso2/orbit/blob/master/hazelcast/3.2.6.wso2v1/pom.xml


Regards,
Nira

-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to