You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Infra
The above infra is setup in aws. Started with single node and then followed cluster setup document.
Node1 comes up and when trying to start node2 , node1 goes down with http 500 error.
If restarted service on node1 , node2 reports http 500 error.
node 2 (conf_access_log_
04.0.0.0 Safari/537.36
[17/Aug/2022:16:45:35 +0000] admin http-nio-8090-exec-1 10.0.254.143 GET /index.action HTTP/1.1 200 14175ms 9316 http://epo-ness-03b9c9.mvision-gpnes.local:8090/login.action?os_destination=%2Findex.action&permissionViolation=true Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
node1(conf_access_log)
[17/Aug/2022:17:17:16 +0000] - http-nio-8090-exec-8 10.0.188.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:16 +0000] - http-nio-8090-exec-4 10.0.235.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:36 +0000] - http-nio-8090-exec-3 10.0.188.214 GET /status HTTP/1.1 500 1ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:36 +0000] - http-nio-8090-exec-5 10.0.235.214 GET /status HTTP/1.1 500 1ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:56 +0000] - http-nio-8090-exec-9 10.0.188.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:17:56 +0000] - http-nio-8090-exec-6 10.0.235.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0
[17/Aug/2022:17:18:16 +0000] - http-nio-8090-exec-8 10.0.188.214 GET /status HTTP/1.1 500 2ms 17 - ELB-HealthChecker/2.0
node 1 (catalina.out)
... 70 more
Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at com.hazelcast.instance.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:321)
at com.hazelcast.instance.HazelcastInstanceProxy.getCluster(HazelcastInstanceProxy.java:219)
at jdk.internal.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy83.getCluster(Unknown Source)
at com.hazelcast.hibernate.HazelcastTimestamper.nextTimestamp(HazelcastTimestamper.java:38)
at com.hazelcast.hibernate.AbstractHazelcastCacheRegionFactory.nextTimestamp(AbstractHazelcastCacheRegionFactory.java:76)
at org.hibernate.internal.AbstractSharedSessionContract.<init>(AbstractSharedSessionContract.java:142)
at org.hibernate.internal.AbstractSessionImpl.<init>(AbstractSessionImpl.java:29)
at org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:253)
at org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1229)
at org.hibernate.internal.SessionFactoryImpl.openSession(SessionFactoryImpl.java:449)
at com.atlassian.confluence.impl.core.persistence.hibernate.SwitchableCachingSessionFactory.openSession(SwitchableCachingSessionFactory.java:117)
at jdk.internal.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy87.openSession(Unknown Source)
at com.atlassian.hibernate.adapter.bridge.factory.SessionFactoryV2orV5BridgeProxy.openSession(SessionFacto
I need active active cluster. But 2 nodes are not active at same time.