Hi All,

I have configured HA cluster for Identity Cloud, with two Identity Server
(IS) nodes and two Gateway (GW) nodes.
SVN based deployment synchronization is enabled in IS cluster to sync
secondary user stores and in GW cluster to sync synapse configurations.

Soon after the deployment up the setup worked fine. But, after about a day,
I could see below Hazelcast exception in the log and each flow which tries
to access the cache fails.

com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance
is not active!
at
com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.getService(ProxyRegistry.java:64)
at
com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.<init>(ProxyRegistry.java:52)
at
com.hazelcast.spi.impl.proxyservice.impl.ProxyServiceImpl$1.createNew(ProxyServiceImpl.java:74)
at
com.hazelcast.spi.impl.proxyservice.impl.ProxyServiceImpl$1.createNew(ProxyServiceImpl.java:72)
at
com.hazelcast.util.ConcurrencyUtil.getOrPutIfAbsent(ConcurrencyUtil.java:51)
at
com.hazelcast.spi.impl.proxyservice.impl.ProxyServiceImpl.getOrCreateRegistry(ProxyServiceImpl.java:110)
at
com.hazelcast.spi.impl.proxyservice.impl.ProxyServiceImpl.getDistributedObject(ProxyServiceImpl.java:118)
at
com.hazelcast.instance.HazelcastInstanceImpl.getDistributedObject(HazelcastInstanceImpl.java:390)
at
com.hazelcast.instance.HazelcastInstanceImpl.getMap(HazelcastInstanceImpl.java:192)
at
com.hazelcast.instance.HazelcastInstanceProxy.getMap(HazelcastInstanceProxy.java:75)
at
org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider$DistMap.<init>(HazelcastDistributedMapProvider.java:68)
at
org.wso2.carbon.core.clustering.hazelcast.HazelcastDistributedMapProvider.getMap(HazelcastDistributedMapProvider.java:47)
at org.wso2.carbon.caching.impl.CacheImpl.<init>(CacheImpl.java:120)
at
org.wso2.carbon.caching.impl.CarbonCacheManager.getCache(CarbonCacheManager.java:121)
at
org.wso2.carbon.user.core.claim.ClaimInvalidationCache.getClaimCache(ClaimInvalidationCache.java:51)
at
org.wso2.carbon.user.core.claim.ClaimInvalidationCache.getValueFromCache(ClaimInvalidationCache.java:101)
at
org.wso2.carbon.user.core.claim.ClaimInvalidationCache.isInvalid(ClaimInvalidationCache.java:56)
at
org.wso2.carbon.user.core.claim.DefaultClaimManager.getAllClaimMappings(DefaultClaimManager.java:232)
at
org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.retrieveAllNunNullUserClaimValues(DefaultClaimHandler.java:515)
at
org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleLocalClaims(DefaultClaimHandler.java:370)
at
org.wso2.carbon.identity.application.authentication.framework.handler.claims.impl.DefaultClaimHandler.handleClaimMappings(DefaultClaimHandler.java:96)
at
org.wso2.carbon.identity.application.authentication.framework.handler.sequence.impl.DefaultStepBasedSequenceHandler.handleClaimMappings(DefaultStepBasedSequenceHandler.java:683)

Any thoughts on solving this issue ?

Thanks,
Malithi
-- 

*Malithi Edirisinghe*
Associate Technical Lead
WSO2 Inc.

Mobile : +94 (0) 718176807
malit...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to