Deploying Confluence DataCenter over an EC2 cluster
Asked by Debajit Adhikary:

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.

------


Answers:
author: Lessandro
body: Hi,

Have you fixed this issue?

Thanks!


author: itstayyab
body: Hi

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

Best Regards

Tayyab Khan


author: Pedro Goncalves
body: Hi,

Where you able to solve this issue?

Thanks


Tags: confluence-administration