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

Windows service restarts fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Incomplete
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Every few restarts (via clicking the restart button in the UI), Hudson does not actually go down.

      Today I got this message in hudson.out.log (should be .err.log?):

      [Winstone 2010/12/16 08:57:20] - Error during AJP13 listener init or shutdown
      java.net.BindException: Address already in use: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(Unknown Source)
      at java.net.ServerSocket.bind(Unknown Source)
      at java.net.ServerSocket.<init>(Unknown Source)
      at java.net.ServerSocket.<init>(Unknown Source)
      at winstone.ajp13.Ajp13Listener.run(Ajp13Listener.java:99)
      at java.lang.Thread.run(Unknown Source)

      [Winstone 2010/12/16 08:57:20] - Error during HTTP listener init or shutdown
      java.net.BindException: Address already in use: JVM_Bind
      at java.net.PlainSocketImpl.socketBind(Native Method)
      at java.net.PlainSocketImpl.bind(Unknown Source)
      at java.net.ServerSocket.bind(Unknown Source)
      at java.net.ServerSocket.<init>(Unknown Source)
      at java.net.ServerSocket.<init>(Unknown Source)
      at winstone.HttpListener.getServerSocket(HttpListener.java:102)
      at winstone.HttpListener.run(HttpListener.java:116)
      at java.lang.Thread.run(Unknown Source)

      If I stop the Hudson service and try starting it manually, it won't come back up. The only way to fix it is to kill Java.exe.

        Attachments

          Activity

          Hide
          evernat evernat added a comment -

          Is it reproduced with a recent Jenkins version?

          Show
          evernat evernat added a comment - Is it reproduced with a recent Jenkins version?
          Hide
          danielbeck Daniel Beck added a comment -

          No response to comment posted 15 months ago, so resolving as incomplete.

          Also, needs to be reproduced in 1.566 (yes, really!) as that version will contain a fix related to restarting Jenkins service on Windows.

          Show
          danielbeck Daniel Beck added a comment - No response to comment posted 15 months ago, so resolving as incomplete. Also, needs to be reproduced in 1.566 (yes, really!) as that version will contain a fix related to restarting Jenkins service on Windows.

            People

            • Assignee:
              Unassigned
              Reporter:
              bnovc bnovc
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: