java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

aliyun.com | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ACE tomcat 容器启动错误 No appenders are available for AsyncAppender Async-问答-云栖社区-阿里云

    aliyun.com | 5 months ago
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
  2. 0

    GitHub comment 207#212893592

    GitHub | 10 months ago | PatrickHuetter
    org.apache.logging.log4j.core.config.ConfigurationException: No appenders are available for AsyncAppender async

    Root Cause Analysis

    1. org.apache.logging.log4j.core.config.ConfigurationException

      No appenders are available for AsyncAppender Async

      at org.apache.logging.log4j.core.appender.AsyncAppender.start()
    2. Apache Log4j Core
      Log4jContextFactory.getContext
      1. org.apache.logging.log4j.core.appender.AsyncAppender.start(AsyncAppender.java:105)
      2. org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:157)
      3. org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:364)
      4. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:422)
      5. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:146)
      6. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:85)
      7. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:37)
      7 frames
    3. Apache Log4j API
      LogManager.getContext
      1. org.apache.logging.log4j.LogManager.getContext(LogManager.java:269)
      1 frame
    4. Apache Log4j SLF4J Binding
      Log4jLoggerFactory.getLogger
      1. org.apache.logging.slf4j.Log4jLoggerFactory$PrivateManager.getContext(Log4jLoggerFactory.java:98)
      2. org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:84)
      3. org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:44)
      3 frames
    5. SLF4J API Module
      LoggerFactory.getLogger
      1. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:270)
      2. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
      2 frames
    6. ace.demo.websocket
      DemoWebsocketConfig.<init>
      1. ace.demo.websocket.DemoWebsocketConfig.<init>(DemoWebsocketConfig.java:20)
      1 frame
    7. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      5. java.lang.Class.newInstance(Class.java:374)
      5 frames
    8. Tomcat WS
      WsSci.onStartup
      1. org.apache.tomcat.websocket.server.WsSci.onStartup(WsSci.java:95)
      1 frame
    9. Glassfish Core
      StandardContext.startInternal
      1. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5456)
      1 frame
    10. com.aliyun.ace4j
      AceContext.startInternal
      1. com.aliyun.ace4j.container.tomcat7.AceContext.startInternal(AceContext.java:45)
      1 frame
    11. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      2. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
      3. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
      3 frames
    12. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:744)
      4 frames