You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2019/02/05 10:43:00 UTC

[jira] [Created] (TOMEE-2464) embedded-maven-plugin throws on exception on shutdown

Thomas Andraschko created TOMEE-2464:
----------------------------------------

             Summary: embedded-maven-plugin throws on exception on shutdown
                 Key: TOMEE-2464
                 URL: https://issues.apache.org/jira/browse/TOMEE-2464
             Project: TomEE
          Issue Type: Bug
          Components: TomEE Maven Plugin
    Affects Versions: 8.0.0-M2, 8.0.0-M1
            Reporter: Thomas Andraschko


[INFO] Pausing ProtocolHandler ["http-nio-8080"]
[INFO] Pausing ProtocolHandler ["ajp-nio-8009"]
[INFO] Stopping service [Catalina]
org.apache.catalina.LifecycleException: Failed to stop component [StandardEngine[Catalina]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:441)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:267)
        at org.apache.catalina.core.StandardService.stopInternal(StandardService.java:474)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
        at org.apache.catalina.core.StandardServer.stopInternal(StandardServer.java:791)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
        at org.apache.catalina.startup.Tomcat.stop(Tomcat.java:380)
        at org.apache.tomee.embedded.Container.stop(Container.java:846)
        at org.apache.openejb.maven.plugins.TomEEEmbeddedMojo$2.run(TomEEEmbeddedMojo.java:425)
Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/core/ContainerBase$StopChild
        at org.apache.catalina.core.ContainerBase.stopInternal(ContainerBase.java:1001)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
        ... 7 more
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.core.ContainerBase$StopChild
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
        ... 9 more


Still on Java8.
It's a simple webapp, configured with tomee-embedded-maven-plugin M2 and a overwritten inlinedServerXml, to configure our own loginDataSource.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)