java.lang.IllegalStateException: Shutdown in progress

JIRA | Philippe Laflamme | 7 years ago
  1. 0

    When shutting down Opal, the following trace is dumped: 2010-05-26 16:34:27,368 - DEBUG - jetty.util.log - EXCEPTION java.lang.ExceptionInInitializerError at org.eclipse.jetty.server.Server.doStop(Server.java:315) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:80) at org.obiba.opal.server.httpd.OpalJettyServer.stop(OpalJettyServer.java:118) at org.obiba.opal.core.runtime.DefaultOpalRuntime.stop(DefaultOpalRuntime.java:72) at org.obiba.opal.server.OpalServer.shutdown(OpalServer.java:76) at org.obiba.opal.server.OpalServer$1.run(OpalServer.java:62) Caused by: java.lang.IllegalStateException: Shutdown in progress at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39) at java.lang.Runtime.addShutdownHook(Runtime.java:192) at org.eclipse.jetty.util.thread.ShutdownThread.<init>(ShutdownThread.java:48) at org.eclipse.jetty.util.thread.ShutdownThread.<clinit>(ShutdownThread.java:36) ... 6 more 2010-05-26 16:34:27,369 - ERROR - jetty.util.log - Nested in java.lang.ExceptionInInitializerError: java.lang.IllegalStateException: Shutdown in progress at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39) at java.lang.Runtime.addShutdownHook(Runtime.java:192) at org.eclipse.jetty.util.thread.ShutdownThread.<init>(ShutdownThread.java:48) at org.eclipse.jetty.util.thread.ShutdownThread.<clinit>(ShutdownThread.java:36) at org.eclipse.jetty.server.Server.doStop(Server.java:315) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:80) at org.obiba.opal.server.httpd.OpalJettyServer.stop(OpalJettyServer.java:118) at org.obiba.opal.core.runtime.DefaultOpalRuntime.stop(DefaultOpalRuntime.java:72) at org.obiba.opal.server.OpalServer.shutdown(OpalServer.java:76) at org.obiba.opal.server.OpalServer$1.run(OpalServer.java:62)

    JIRA | 7 years ago | Philippe Laflamme
    java.lang.IllegalStateException: Shutdown in progress
  2. 0

    When shutting down Opal, the following trace is dumped: 2010-05-26 16:34:27,368 - DEBUG - jetty.util.log - EXCEPTION java.lang.ExceptionInInitializerError at org.eclipse.jetty.server.Server.doStop(Server.java:315) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:80) at org.obiba.opal.server.httpd.OpalJettyServer.stop(OpalJettyServer.java:118) at org.obiba.opal.core.runtime.DefaultOpalRuntime.stop(DefaultOpalRuntime.java:72) at org.obiba.opal.server.OpalServer.shutdown(OpalServer.java:76) at org.obiba.opal.server.OpalServer$1.run(OpalServer.java:62) Caused by: java.lang.IllegalStateException: Shutdown in progress at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39) at java.lang.Runtime.addShutdownHook(Runtime.java:192) at org.eclipse.jetty.util.thread.ShutdownThread.<init>(ShutdownThread.java:48) at org.eclipse.jetty.util.thread.ShutdownThread.<clinit>(ShutdownThread.java:36) ... 6 more 2010-05-26 16:34:27,369 - ERROR - jetty.util.log - Nested in java.lang.ExceptionInInitializerError: java.lang.IllegalStateException: Shutdown in progress at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39) at java.lang.Runtime.addShutdownHook(Runtime.java:192) at org.eclipse.jetty.util.thread.ShutdownThread.<init>(ShutdownThread.java:48) at org.eclipse.jetty.util.thread.ShutdownThread.<clinit>(ShutdownThread.java:36) at org.eclipse.jetty.server.Server.doStop(Server.java:315) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:80) at org.obiba.opal.server.httpd.OpalJettyServer.stop(OpalJettyServer.java:118) at org.obiba.opal.core.runtime.DefaultOpalRuntime.stop(DefaultOpalRuntime.java:72) at org.obiba.opal.server.OpalServer.shutdown(OpalServer.java:76) at org.obiba.opal.server.OpalServer$1.run(OpalServer.java:62)

    JIRA | 7 years ago | Philippe Laflamme
    java.lang.IllegalStateException: Shutdown in progress
  3. 0

    ShutdownThread.deregister(this) in Server.doStop causes IllegalStateException at shutdown

    Eclipse Bugzilla | 7 years ago | eirbjo
    java.lang.IllegalStateException: Shutdown in progress
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [LOG4J2-223] IllegalStateException thrown during Tomcat shutdown - ASF JIRA

    apache.org | 4 months ago
    java.lang.IllegalStateException: Shutdown in progress

  1. kjhdofjosvs 2 times, last 2 weeks ago
  2. eti22 1 times, last 1 month ago
  3. mauritius 1 times, last 1 month ago
  4. andyglick 5 times, last 2 months ago
  5. andyglick 3 times, last 2 months ago
3 more registered users
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Shutdown in progress

    at java.lang.ApplicationShutdownHooks.add()
  2. Java RT
    Runtime.addShutdownHook
    1. java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
    2. java.lang.Runtime.addShutdownHook(Runtime.java:192)
    2 frames
  3. Jetty
    AbstractLifeCycle.stop
    1. org.eclipse.jetty.util.thread.ShutdownThread.<init>(ShutdownThread.java:48)
    2. org.eclipse.jetty.util.thread.ShutdownThread.<clinit>(ShutdownThread.java:36)
    3. org.eclipse.jetty.server.Server.doStop(Server.java:315)
    4. org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:80)
    4 frames
  4. org.obiba.opal
    OpalServer$1.run
    1. org.obiba.opal.server.httpd.OpalJettyServer.stop(OpalJettyServer.java:118)
    2. org.obiba.opal.core.runtime.DefaultOpalRuntime.stop(DefaultOpalRuntime.java:72)
    3. org.obiba.opal.server.OpalServer.shutdown(OpalServer.java:76)
    4. org.obiba.opal.server.OpalServer$1.run(OpalServer.java:62)
    4 frames