Hi all,
It seems that there are some issues in the server initialization code, where
the JGroups bind.address (for example) it not setup in-time, see [1]. The
code responsible for setting this up is found in [2].
// Set the JGroups bind address for the use of the Caching
Implementation based on
// Infinispan.
if (System.getProperty("bind.address") == null) {
System.setProperty("bind.address",
(hostName != null &&
hostName.trim().length() != 0) ?
hostName.trim() :
NetworkUtils.getLocalHostname());
}
// Initialize the distributed cache for the super-tenant at
start-up. If not, the first
// few cache look-ups will result in misses, until the cache
manager joins the cluster.
SuperTenantCarbonContext.getCurrentContext().getCache();
[1] https://wso2.org/jira/browse/CARBON-9372
[2]
https://svn.wso2.org/repos/wso2/trunk/carbon/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/init/CarbonServerManager.java
Thanks,
Senaka.
--
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org
E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando
*Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev