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

Hudson restarts but the windows service doesn't

XMLWordPrintable

    • 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

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

              Created:
              Updated:
              Resolved: