Uploaded image for project: 'WildFly Maven Plugin'
  1. WildFly Maven Plugin
  2. WFMP-77

Intermittent NoClassDefFoundError upon deploying/undeploying with WildFly Maven Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.2.0.Alpha6
    • 1.2.0.Alpaha2, 1.2.0.Alpha3, 1.2.0.Alpha4
    • Maven Plugin
    • None

      Upon attempting to use wildfly:deploy/wildfly:undeploy with JBoss EAP quickstarts, the following stacktrace and unfinished operation will happen regularly:

      [mjurc@tigris greeter]$ mvn wildfly:undeploy
      [INFO] Scanning for projects...
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building JBoss EAP Quickstart: greeter 7.1.0.Alpha
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- wildfly-maven-plugin:1.2.0.Alpha2:undeploy (default-cli) @ greeter ---
      Mar 14, 2017 12:40:39 PM org.xnio.Xnio <clinit>
      INFO: XNIO version 3.5.0.Beta1
      Mar 14, 2017 12:40:39 PM org.xnio.nio.NioXnio <clinit>
      INFO: XNIO NIO Implementation Version 3.5.0.Beta1
      Mar 14, 2017 12:40:39 PM org.jboss.remoting3.EndpointImpl <clinit>
      INFO: JBoss Remoting version 5.0.0.Beta16
      Mar 14, 2017 12:40:39 PM org.wildfly.security.Version <clinit>
      INFO: ELY00001: WildFly Elytron version 1.1.0.Beta23
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1.285 s
      [INFO] Finished at: 2017-03-14T12:40:39+01:00
      [INFO] Final Memory: 21M/301M
      [INFO] ------------------------------------------------------------------------
      Exception in thread "Remoting "management-client" task-8" java.lang.NoClassDefFoundError: org/xnio/XnioWorker$2
      	at org.xnio.XnioWorker.shutDownTaskPool(XnioWorker.java:769)
      	at org.xnio.nio.NioXnioWorker.shutdown(NioXnioWorker.java:277)
      	at org.jboss.remoting3.EndpointImpl.finishPhase1(EndpointImpl.java:257)
      	at org.jboss.remoting3.EndpointImpl.closeTick1(EndpointImpl.java:240)
      	at org.jboss.remoting3.EndpointImpl.access$200(EndpointImpl.java:93)
      	at org.jboss.remoting3.EndpointImpl$TrackingExecutor.finishWork(EndpointImpl.java:820)
      	at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:807)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ClassNotFoundException: org.xnio.XnioWorker$2
      	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)
      	... 10 more
      

      With about 30% occurence.

              jperkins-rhn James Perkins
              mjurc@redhat.com Michal Jurc
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: