Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2441

Failing to launch a process results in socket time out exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      Failing to launch a process results in socket time out exception as below.
      Notice the wrong Java path (configuration mistake) — this is on Windows.

      [hk2] $ /usr/local/java1.5/bin/java -cp
      /tmp/maven-agent.jar;C:\development\maven\boot\classworlds-1.1.jar
      hudson.maven.agent.Main C:\development\maven "C:\Documents and
      Settings\kohsuke\Application
      Data\Sun\Java\Deployment\cache\6.0\16\7277ad10-275f25e2"
      /tmp/maven-interceptor.jar 1107

      ERROR: Failed to parse POMs

      java.net.SocketTimeoutException: Accept timed out

      at java.net.PlainSocketImpl.socketAccept(Native Method)

      at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)

      at java.net.ServerSocket.implAccept(ServerSocket.java:453)

      at java.net.ServerSocket.accept(ServerSocket.java:421)

      at
      hudson.maven.MavenProcessFactory$SocketHandler$AcceptorImpl.accept(MavenProcessFactory.java:143)

      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.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:240)

      at
      hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:223)

      at
      hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:183)

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

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

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

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

      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:886)

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

      at hudson.remoting.Engine$1$1.run(Engine.java:29)

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

      finished: FAILURE

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: