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

Slave installation as windows service fails: URL does not contain context part

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • remoting
    • None
    • Platform: All, OS: All

      Hudson 1.276

      Trying to install a slave running on Windows as a service using the Menu
      "File->Install as Windows Service" results in an error dialog with the following
      exception:
      java.io.FileNotFoundException: http://hudsonhost:8080/jnlpJars/remoting.jar
      at .....
      at
      hudson.lifecycle.WindowsSlaveInstaller.actionPerformed(WindowsSlaveInstaller.java:104)
      at ...
      (I'll try to attach the screenshot of the full exception)

      Why this fails: the URL is wrong, it should contain the context:
      http://hudsonhost:8080/hudson/jnlpJars/remoting.jar

      Our hudson is installed on Tomcat, under base-URL http://hudsonhost:8080/hudson/

          [JENKINS-2886] Slave installation as windows service fails: URL does not contain context part

          tjenny added a comment -

          Created an attachment (id=525)
          screenshot of the full stacktrace

          tjenny added a comment - Created an attachment (id=525) screenshot of the full stacktrace

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/lifecycle/WindowsSlaveInstaller.java
          trunk/hudson/main/remoting/src/main/java/hudson/remoting/Engine.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=14675
          Log:
          [FIXED JENKINS-2886]
          despite what the comment said, the hudsonUrl variable wasn't including the 'tcpSlaveAgentListener'.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/lifecycle/WindowsSlaveInstaller.java trunk/hudson/main/remoting/src/main/java/hudson/remoting/Engine.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=14675 Log: [FIXED JENKINS-2886] despite what the comment said, the hudsonUrl variable wasn't including the 'tcpSlaveAgentListener'.

            Unassigned Unassigned
            tjenny tjenny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: