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 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 205#247146936

    GitHub | 6 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 | 1 year 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: Any tutorial out there for configuring CXF and Spring with Tomcat

    apache.org | 1 year ago
    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods 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.getLifecycleProcessor(AbstractApplicationContext.java:360) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1057) 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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Any tutorial out there for configuring CXF and Spring with Tomcat

    apache.org | 1 year ago
    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Mon Apr 22 18:18:26 CDT 2013]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:350) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1033) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:988) at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:556) at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:142) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4831) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
  6. 0

    Re: Any tutorial out there for configuring CXF and Spring with Tomcat

    apache.org | 1 year ago
    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods 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.getLifecycleProcessor(AbstractApplicationContext.java:360) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1057) 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)

    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