Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2464

embedded-maven-plugin throws on exception on shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.0.0-M1, 8.0.0-M2
    • None
    • TomEE Maven Plugin
    • None

    Description

      [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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tandraschko Thomas Andraschko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: