org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Alpha1:deploy (default-cli) on project radarclient: Error executing FORCE_DEPLOY

Stack Overflow | rinilnath | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Maven wildfly deploy to jboss fails saying message asynchronously closed by another thread

    Stack Overflow | 7 months ago | rinilnath
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Alpha1:deploy (default-cli) on project radarclient: Error executing FORCE_DEPLOY

    Root Cause Analysis

    1. org.jboss.remoting3.NotOpenException

      Message was closed asynchronously by another thread

      at org.jboss.remoting3.remote.OutboundMessage$1.accept()
    2. JBoss Remoting
      OutboundMessage$1.accept
      1. org.jboss.remoting3.remote.OutboundMessage$1.accept(OutboundMessage.java:127)
      1 frame
    3. XNIO API
      BufferPipeOutputStream.write
      1. org.xnio.streams.BufferPipeOutputStream.send(BufferPipeOutputStream.java:122)
      2. org.xnio.streams.BufferPipeOutputStream.send(BufferPipeOutputStream.java:110)
      3. org.xnio.streams.BufferPipeOutputStream.getBuffer(BufferPipeOutputStream.java:74)
      4. org.xnio.streams.BufferPipeOutputStream.write(BufferPipeOutputStream.java:92)
      4 frames
    4. JBoss Remoting
      OutboundMessage.write
      1. org.jboss.remoting3.remote.OutboundMessage.write(OutboundMessage.java:272)
      1 frame
    5. Java RT
      FilterOutputStream.write
      1. java.io.DataOutputStream.write(DataOutputStream.java:107)
      2. java.io.FilterOutputStream.write(FilterOutputStream.java:97)
      2 frames
    6. JBoss Application Server: Protocol Utilities
      FlushableDataOutputImpl.write
      1. org.jboss.as.protocol.mgmt.FlushableDataOutputImpl.write(FlushableDataOutputImpl.java:118)
      1 frame
    7. JBoss Dynamic Model Representation
      ModelNode.writeExternal
      1. org.jboss.dmr.BytesModelValue.writeExternal(BytesModelValue.java:62)
      2. org.jboss.dmr.ModelNode.writeExternal(ModelNode.java:1652)
      3. org.jboss.dmr.ObjectModelValue.writeExternal(ObjectModelValue.java:76)
      4. org.jboss.dmr.ModelNode.writeExternal(ModelNode.java:1652)
      5. org.jboss.dmr.ListModelValue.writeExternal(ListModelValue.java:78)
      6. org.jboss.dmr.ModelNode.writeExternal(ModelNode.java:1652)
      7. org.jboss.dmr.ObjectModelValue.writeExternal(ObjectModelValue.java:76)
      8. org.jboss.dmr.ModelNode.writeExternal(ModelNode.java:1652)
      8 frames
    8. JBoss Application Server: Controller Client
      AbstractModelControllerClient$1.sendRequest
      1. org.jboss.as.controller.client.impl.AbstractModelControllerClient$1.sendRequest(AbstractModelControllerClient.java:187)
      1 frame
    9. JBoss Application Server: Protocol Utilities
      ManagementChannelHandler.executeRequest
      1. org.jboss.as.protocol.mgmt.AbstractManagementRequest.sendRequest(AbstractManagementRequest.java:53)
      2. org.jboss.as.protocol.mgmt.AbstractMessageHandler.executeRequest(AbstractMessageHandler.java:148)
      3. org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:147)
      4. org.jboss.as.protocol.mgmt.ManagementChannelHandler.executeRequest(ManagementChannelHandler.java:122)
      4 frames
    10. JBoss Application Server: Controller Client
      AbstractModelControllerClient.execute
      1. org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeRequest(AbstractModelControllerClient.java:263)
      2. org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:168)
      3. org.jboss.as.controller.client.impl.AbstractModelControllerClient.executeForResult(AbstractModelControllerClient.java:147)
      4. org.jboss.as.controller.client.impl.AbstractModelControllerClient.execute(AbstractModelControllerClient.java:80)
      4 frames
    11. org.wildfly.plugin
      AbstractDeployment.execute
      1. org.wildfly.plugin.deployment.standalone.StandaloneDeployment.execute(StandaloneDeployment.java:168)
      2. org.wildfly.plugin.deployment.AbstractDeployment.executeDeployment(AbstractDeployment.java:121)
      3. org.wildfly.plugin.deployment.AbstractDeployment.doExecute(AbstractDeployment.java:147)
      4. org.wildfly.plugin.deployment.AbstractAppDeployment.doExecute(AbstractAppDeployment.java:70)
      5. org.wildfly.plugin.deployment.AbstractDeployment.execute(AbstractDeployment.java:111)
      5 frames
    12. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    13. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    14. M3 Interceptor
      Maven32Launcher.main
      1. org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132)
      1 frame
    15. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    16. Plexus
      Launcher.launch
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
      2 frames
    17. jenkins.maven3.agent
      Maven32Main.launch
      1. jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186)
      1 frame
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    19. Hudson Maven Embedder
      Maven3Builder.call
      1. hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
      2. hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
      2 frames
    20. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:153)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:50)
      3. hudson.remoting.Request$2.run(Request.java:332)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      4 frames
    21. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames