1 Reply Latest reply on Apr 17, 2016 1:15 PM by wdfink

    java.net.ConnectException: JBAS012144

    kyungkuk

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 8.555 s

      [INFO] Finished at: 2016-04-15T10:54:43+09:00

      [INFO] Final Memory: 20M/116M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.7.Final:undeploy (jboss-undeploy) on project tipa3_BC: Could not execute goal undeploy on /var/lib/jenkins/jobs/devDeploy_tipa3/workspace/tipa3_BC/target/tipa3_BC.war. Reason: I/O Error could not execute operation '{ [ERROR] "operation" => "read-attribute", [ERROR] "address" => [], [ERROR] "name" => "launch-type" [ERROR] }': java.net.ConnectException: JBAS012144: Could not connect to remote://fnki-Dwas-01.fnki-Dwas-01:9999. The connection timed out [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.7.Final:undeploy (jboss-undeploy) on project tipa3_BC: Could not execute goal undeploy on /var/lib/jenkins/jobs/devDeploy_tipa3/workspace/tipa3_BC/target/tipa3_BC.war. Reason: I/O Error could not execute operation '{

          "operation" => "read-attribute",

          "address" => [],

          "name" => "launch-type"

      }'

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)

      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)

      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)

      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)

      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)

      at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)

      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)

      at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)

      at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)

      at hudson.remoting.UserRequest.perform(UserRequest.java:121)

      at hudson.remoting.UserRequest.perform(UserRequest.java:49)

      at hudson.remoting.Request$2.run(Request.java:324)

      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)

      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

      at java.util.concurrent.FutureTask.run(FutureTask.java:138)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

      at java.lang.Thread.run(Thread.java:662)

      Caused by: org.apache.maven.plugin.MojoExecutionException: Could not execute goal undeploy on /var/lib/jenkins/jobs/devDeploy_tipa3/workspace/tipa3_BC/target/tipa3_BC.war. Reason: I/O Error could not execute operation '{

          "operation" => "read-attribute",

          "address" => [],

          "name" => "launch-type"

      }'

        • 1. Re: java.net.ConnectException: JBAS012144
          wdfink

          Seems a connectio issue == " JBAS012144: Could not connect to remote://fnki-Dwas-01.fnki-Dwas-01:9999" from the maven plugin

          Maybe you have no server started or use a different configuration.


          In any case you should add your expectation and what you do to get an answer for your problem.

          What versions do you use and how you use the server and build