When stopping confluence, a lot of HazelcastInstanceNotActiveException displayed in the log

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Data Center - Core
    • None
    • 1
    • 5

      Issue Summary

      When stopping confluence, a lot of HazelcastInstanceNotActiveException displayed in the log

      Steps to Reproduce

      1. Install Data Center with quick start template to AWS
      2. Set-up Confluence
      3. Stop Confluence with below command:
        systemctl stop confluence

      Expected Results

      Stop confluence without any ERROR or WARN

      Actual Results

      Due to this, a lot of WARN and ERROR logs are shows like the below:

      2021-04-02 04:27:49,129 WARN [hz.ShutdownThread] [com.hazelcast.instance.Node] log [10.0.58.118]:5801 [ConfluenceStack-G9DFCUQ1GEGM] [3.11.6] Terminating forcefully...
       -- referer: http://tsuzu-loadb-17k62n9big6q1-317243873.us-east-1.elb.amazonaws.com/setup/dosetuplicense.action | url: /setup/setupcluster.action | traceId: 00f8defa4b31b4c1 | userName: anonymous | action: setupcluster
      2021-04-02 04:27:49,175 ERROR [Catalina-utility-3] [atlassian.confluence.event.ConfluenceEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.event.events.security.LogoutEvent[source=com.atlassian.confluence.user.listeners.UserSessionExpiryListener@37b7a473]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.confluence.extra.userlister.UserListener.handleLogoutEvent(com.atlassian.confluence.event.events.security.LogoutEvent), listener=com.atlassian.confluence.extra.userlister.UserListener@48a6d514} (timed)]
      java.lang.RuntimeException: Problem retrieving a value from cache com.atlassian.confluence.extra.userlister.DefaultUserListManager. Listener: com.atlassian.confluence.extra.userlister.UserListener event: com.atlassian.confluence.event.events.security.LogoutEvent
              at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:57)
      ...
      Caused by: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
              at com.hazelcast.spi.impl.operationservice.impl.InvocationRegistry.register(InvocationRegistry.java:128)
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Tomoko Suzuki
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: