Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9394

Silence logs of Hazelcast when shutting down

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6-M3, 6.6
    • Component/s: None
    • Labels:

      Description

      When an error makes the startup of the Web Server fails very early, such as the following:

      WrapperSimpleApp: Encountered an error running main: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
      com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
      	at com.hazelcast.instance.HazelcastInstanceProxy.getOriginal(HazelcastInstanceProxy.java:303)
      	at com.hazelcast.instance.HazelcastInstanceProxy.getClientService(HazelcastInstanceProxy.java:241)
      	at org.sonar.application.cluster.HazelcastCluster.close(HazelcastCluster.java:150)
      	at org.sonar.application.cluster.AppStateClusterImpl.close(AppStateClusterImpl.java:90)
      	at org.sonar.application.App.start(App.java:69)
      	at org.sonar.application.App.main(App.java:75)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Activity

            People

            Assignee:
            eric.hartmann Eric Hartmann
            Reporter:
            eric.hartmann Eric Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: