java.lang.IllegalStateException: Cannot add new shutdown hook as this is not started. Current state: STOPPED 2016-09-14T20:41:24.116823+00:00 app[web.1]: at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownCallback(DefaultShutdownCallbackRegistry.java:113) 2016-09-14T20:41:24.116825+00:00 app[web.1]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.addShutdownCallback(Log4jContextFactory.java:273) 2016-09-14T20:41:24.116828+00:00 app[web.1]: at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:216) 2016-09-14T20:41:24.116829+00:00 app[web.1]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:145) 2016-09-14T20:41:24.116830+00:00 app[web.1]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41) 2016-09-14T20:41:24.116831+00:00 app[web.1]: at org.apache.logging.log4j.LogManager.getContext(LogManager.java:182) 2016-09-14T20:41:24.116831+00:00 app[web.1]: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103) 2016-09-14T20:41:24.116832+00:00 app[web.1]: at org.apache.logging.log4j.jcl.LogAdapter.getContext(LogAdapter.java:39) 2016-09-14T20:41:24.116833+00:00 app[web.1]: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42) 2016-09-14T20:41:24.116834+00:00 app[web.1]: at org.apache.logging.log4j.jcl.LogFactoryImpl.getInstance(LogFactoryImpl.java:40)

GitHub | Reedyuk | 3 months ago
  1. 0

    GitHub comment 205#247146936

    GitHub | 3 months ago | Reedyuk
    java.lang.IllegalStateException: Cannot add new shutdown hook as this is not started. Current state: STOPPED 2016-09-14T20:41:24.116823+00:00 app[web.1]: at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownCallback(DefaultShutdownCallbackRegistry.java:113) 2016-09-14T20:41:24.116825+00:00 app[web.1]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.addShutdownCallback(Log4jContextFactory.java:273) 2016-09-14T20:41:24.116828+00:00 app[web.1]: at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:216) 2016-09-14T20:41:24.116829+00:00 app[web.1]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:145) 2016-09-14T20:41:24.116830+00:00 app[web.1]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41) 2016-09-14T20:41:24.116831+00:00 app[web.1]: at org.apache.logging.log4j.LogManager.getContext(LogManager.java:182) 2016-09-14T20:41:24.116831+00:00 app[web.1]: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103) 2016-09-14T20:41:24.116832+00:00 app[web.1]: at org.apache.logging.log4j.jcl.LogAdapter.getContext(LogAdapter.java:39) 2016-09-14T20:41:24.116833+00:00 app[web.1]: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42) 2016-09-14T20:41:24.116834+00:00 app[web.1]: at org.apache.logging.log4j.jcl.LogFactoryImpl.getInstance(LogFactoryImpl.java:40)
  2. 0

    TomEE Users - Any tutorial out there for configuring CXF and Spring with Tomcat

    nabble.com | 11 months ago
    java.lang.IllegalStateException: ApplicationEventMulticaster not > initialized - call 'refresh' before multicasting events via the context: > Root WebApplicationContext: startup date [Tue Apr 23 16:48:56 CDT 2013]; > root of context hierarchy at > > org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:347) > at > > org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) at > > org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1049) > at > > org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010) at > > org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:558) > at > > org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143) at > > org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4927) > at > > org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5573)
  3. 0

    Re: FATAL Unable to register shutdown hook because JVM is shutting down.

    apache.org | 1 year ago
    java.lang.IllegalStateException: Cannot add new >> shutdown hook as this is not started. Current state: STOPPED at >> org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownCallback(DefaultShutdownCallbackRegistry.java:113) at >> org.apache.logging.log4j.core.impl.Log4jContextFactory.addShutdownCallback(Log4jContextFactory.java:244) at >> org.apache.logging.log4j.core.LoggerContext.setUpShutdownHook(LoggerContext.java:182) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:143) at >> org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:146) at >> org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:175) at >> org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:102) at >> org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43) at >> org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42) at >> org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Not able to ingest data using batch ingestion

    Google Groups | 5 months ago | SAURABH JAIN
    java.lang.IllegalStateException: Not started at io.druid.common.config.Log4jShutdown.addShutdownCallback(Log4jShutdown.java:45) at org.apache.logging.log4j.core.impl.Log4jContextFactory.addShutdownCallback(Log4jContextFactory.java:273) at org.apache.logging.log4j.core.LoggerContext.setUpShutdownHook(LoggerContext.java:256) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:216) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:145) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
  6. 0

    Getting java.lang.IllegalStateException : Failed to create merged beam

    Google Groups | 3 months ago | Abhinav
    java.lang.IllegalStateException: Failed to save new beam for > identifier[druid:overlord/metrics] timestamp[2016-09-07T12:00:00.000Z] > > at > com.metamx.tranquility.beam.ClusteredBeam$$anonfun$2.applyOrElse(ClusteredBeam.scala:289) > ~[io.druid.tranquility-core-0.8.2.jar:0.8.2] > > at > com.metamx.tranquility.beam.ClusteredBeam$$anonfun$2.applyOrElse(ClusteredBeam.scala:286) > ~[io.druid.tranquility-core-0.8.2.jar:0.8.2] > > at com.twitter.util.Future$$anonfun$rescue$1.apply(Future.scala:924)

    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

      Cannot add new shutdown hook as this is not started. Current state: STOPPED 2016-09-14T20:41:24.116823+00:00 app[web.1]: at org.apache.logging.log4j.core.util.DefaultShutdownCallbackRegistry.addShutdownCallback(DefaultShutdownCallbackRegistry.java:113) 2016-09-14T20:41:24.116825+00:00 app[web.1]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.addShutdownCallback(Log4jContextFactory.java:273) 2016-09-14T20:41:24.116828+00:00 app[web.1]: at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:216) 2016-09-14T20:41:24.116829+00:00 app[web.1]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:145) 2016-09-14T20:41:24.116830+00:00 app[web.1]: at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41) 2016-09-14T20:41:24.116831+00:00 app[web.1]: at org.apache.logging.log4j.LogManager.getContext(LogManager.java:182) 2016-09-14T20:41:24.116831+00:00 app[web.1]: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103) 2016-09-14T20:41:24.116832+00:00 app[web.1]: at org.apache.logging.log4j.jcl.LogAdapter.getContext(LogAdapter.java:39) 2016-09-14T20:41:24.116833+00:00 app[web.1]: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42) 2016-09-14T20:41:24.116834+00:00 app[web.1]: at org.apache.logging.log4j.jcl.LogFactoryImpl.getInstance(LogFactoryImpl.java:40)

      at org.apache.catalina.core.StandardContext.stopInternal()
    2. Glassfish Core
      LifecycleBase.stop
      1. org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
      2. org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
      2 frames