Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-64166

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

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Data Center - Core
    • None
    • 1
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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

            [CONFSERVER-64166] When stopping confluence, a lot of HazelcastInstanceNotActiveException displayed in the log

            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            UIS Original: 1 New: 3
            SET Analytics Bot made changes -
            UIS Original: 2 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            Sen Geronimo made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 4093782 ] New: JAC Suggestion Workflow 3 [ 4339550 ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0

              Unassigned Unassigned
              tsuzuki@atlassian.com Tomoko Suzuki
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: