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

Hudson restarts but the windows service doesn't

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Hudson 1.337 on Windows Server 2003 R2

      I have installed hudson as a windows service.
      When I restart hudson either using "/safeRestart" or after installing a plugin using the button in the GUI, Hudson restarts correctly but the windows service is stopped and never restarted.
      After restart

      • hudson.exe process is not present in the processes list;
      • no messages are reported in hudson.err.log or hudson.out.log files;
      • file hudson.wrapper.log reports the restart log as shown below:

      2009-12-15 09.43.40 - Starting java -Xrs -Xmx1024m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -Dhudson.scheduledRetention=true -jar "C:\DeveloperTools\Hudson\hudson.war" --httpPort=8080
      2009-12-15 09.43.40 - Started 3856
      2009-12-15 09.51.14 - Stopping hudson
      2009-12-15 09.51.14 - ProcessKill 3856
      2009-12-15 09.51.14 - Finished hudson
      2009-12-15 09.51.15 - Starting java -Xrs -Xmx1024m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -Dhudson.scheduledRetention=true -jar "C:\DeveloperTools\Hudson\hudson.war" --httpPort=8080
      2009-12-15 09.51.15 - Started 2772

          [JENKINS-5090] Hudson restarts but the windows service doesn't

          Marco Ambu created issue -
          Kohsuke Kawaguchi made changes -
          Link New: This issue duplicates JENKINS-7110 [ JENKINS-7110 ]
          Kohsuke Kawaguchi made changes -
          Link New: This issue duplicates JENKINS-4969 [ JENKINS-4969 ]
          Kohsuke Kawaguchi made changes -
          Assignee New: Kohsuke Kawaguchi [ kohsuke ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          fredg02 made changes -
          Link New: This issue is related to JENKINS-2989 [ JENKINS-2989 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135174 ] New: JNJira + In-Review [ 186937 ]

            kohsuke Kohsuke Kawaguchi
            mambu Marco Ambu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: