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

Windows service restarts fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • core
    • None

      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.

            Unassigned Unassigned
            bnovc bnovc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: