org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_destroy]) for component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/myapp]] in state [STARTING_PREP]

Stack Overflow | ivan_drago | 7 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

    TomEE throws An invalid Lifecycle transition

    Stack Overflow | 7 months ago | ivan_drago
    org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_destroy]) for component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/myapp]] in state [STARTING_PREP]
  2. 0

    [Self hosted] Several bugs since recent updates

    GitHub | 4 years ago | dsferruzza
    org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_destroy]) for component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] in state [STARTING_PREP]
  3. 0

    Issue 198 - omnifaces - Class java.util.ServiceLoader$LazyIterator can not access a member of class org.omnifaces.cdi.converter.ConverterExtension with modifiers "" - We have moved to http://omnifaces.org - Google Project Hosting

    google.com | 2 years ago
    org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_destroy]) for component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mcmsweb]] in state [STARTING_PREP]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TomEE Users - JAX-RS webservices do not work on TomEE if webapp context is "/"

    nabble.com | 10 months ago
    org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_destroy]) for component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] in state [STARTING_PREP]
  6. 0

    [OpenEJB-commits] [jira] [Created] (TOMEE-602) Cannot deploy application with custom context path - Grokbase

    grokbase.com | 2 years ago
    org.apache.catalina.LifecycleException: An invalid Lifecycle transition was attempted ([before_destroy]) for component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/example/foo]] in state [STARTING_PREP]
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. org.apache.catalina.LifecycleException

    An invalid Lifecycle transition was attempted ([before_destroy]) for component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/myapp]] in state [STARTING_PREP]

    at org.apache.catalina.util.LifecycleBase.invalidTransition()
  2. Glassfish Core
    ContainerBase.removeChild
    1. org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:409)
    2. org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:299)
    3. org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
    3 frames
  3. OpenEJB :: TomEE :: Catalina
    TomcatWebAppBuilder.undeployWebApps
    1. org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1167)
    2. org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1148)
    3. org.apache.tomee.catalina.TomcatWebAppBuilder.undeployWebApps(TomcatWebAppBuilder.java:635)
    3 frames
  4. OpenEJB :: OSGi :: Core
    Assembler.createApplication
    1. org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:1275)
    2. org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:955)
    3. org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:537)
    3 frames
  5. OpenEJB :: TomEE :: Catalina
    GlobalListenerSupport.lifecycleEvent
    1. org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:982)
    2. org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:901)
    3. org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:118)
    3 frames
  6. Glassfish Core
    HostConfig$DeployWar.run
    1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    2. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    3. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)
    4. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    8. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
    9. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
    9 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames