Deploying Confluence DataCenter over an EC2 cluster

EC2 does not allow multicast, so I am unable to deploy Confluence DataCenter directly over two EC2 hosts.

I updated the Hazelcast jar to specify the hostnames statically, so that it can use TCP instead of multicasting. After starting up Confluence in both hosts, when I go back and refresh the page from the master node, it fails with a cache read error "HTTP Status 500 - Problem retrieving a value from cache com.atlassian.bandana.BandanaPersister" (Error shown below)

How can I fix this?

Is there anyone else here who has deployed Confluence DataCenter over an EC2 cluster? If so, could you share your experiences around deploying Confluence DataCenter over EC2?

 


HTTP Status 500 - Problem retrieving a value from cache com.atlassian.bandana.BandanaPersister

type Exception report

message Problem retrieving a value from cache com.atlassian.bandana.BandanaPersister

description The server encountered an internal error that prevented it from fulfilling this request.

exception

com.atlassian.cache.CacheException: Problem retrieving a value from cache com.atlassian.bandana.BandanaPersister
com.atlassian.cache.hazelcast.HazelcastCache.getOrLoad(HazelcastCache.java:255)
com.atlassian.cache.hazelcast.HazelcastCache.get(HazelcastCache.java:90)
com.atlassian.confluence.cache.DefaultConfluenceCache.get(DefaultConfluenceCache.java:52)
com.atlassian.confluence.cache.ConfluenceMonitoringCache.get(ConfluenceMonitoringCache.java:49)
com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:57)
com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:32)
com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:24)
com.atlassian.confluence.setup.settings.DefaultSettingsManager.getGlobalSettings(DefaultSettingsManager.java:43)
com.atlassian.confluence.setup.ConfluenceEncodingFilter.getGlobalSettings(ConfluenceEncodingFilter.java:48)
com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncodingInternal(ConfluenceEncodingFilter.java:37)
com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncoding(ConfluenceEncodingFilter.java:29)
com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38)
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:71)
com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50)
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
root cause

com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
com.hazelcast.spi.AbstractDistributedObject.getService(AbstractDistributedObject.java:93)
com.hazelcast.map.proxy.MapProxySupport.toData(MapProxySupport.java:1056)
com.hazelcast.map.proxy.MapProxyImpl.get(MapProxyImpl.java:83)
com.atlassian.cache.hazelcast.HazelcastCache.getOrLoad(HazelcastCache.java:231)
com.atlassian.cache.hazelcast.HazelcastCache.get(HazelcastCache.java:90)
com.atlassian.confluence.cache.DefaultConfluenceCache.get(DefaultConfluenceCache.java:52)
com.atlassian.confluence.cache.ConfluenceMonitoringCache.get(ConfluenceMonitoringCache.java:49)
com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:57)
com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:32)
com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:24)
com.atlassian.confluence.setup.settings.DefaultSettingsManager.getGlobalSettings(DefaultSettingsManager.java:43)
com.atlassian.confluence.setup.ConfluenceEncodingFilter.getGlobalSettings(ConfluenceEncodingFilter.java:48)
com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncodingInternal(ConfluenceEncodingFilter.java:37)
com.atlassian.confluence.setup.ConfluenceEncodingFilter.getEncoding(ConfluenceEncodingFilter.java:29)
com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:38)
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:71)
com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:50)
com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 logs.

------

3 answers

Hi,

Where you able to solve this issue?

Thanks

Hi 

I'm facing same issue in Confluence Data center. How Did you solve this?

 

Best Regards

Tayyab Khan

Hi, 

Have you fixed this issue?

Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,565 views 26 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you