Closed timja closed 13 years ago
I have restarted again hudson (1.339 now) using the button provided in the GUI after upgrading a plugin. Now I find that problem #2 is quite blocking: hudson is running but not logging in any file (the last message is just before restarting) even if it is logging in the GUI (http://hudson:8080/log/all). In this way there is no possibility to control and monitor the hudson server.
Can anybody please have a look on this?
I have tried again after upgrade to 1.341 to use /safeRestart after a plugin installation and It seems that this problem is not more present. After restart hudson.exe process remains active, the service status is "started", only one java.exe instance is running and the log is correctly written to files.
Fixed toward 1.392 in 081235acff1a791126bec3d395e9f3a38a53240e
Code changed in hudson
User: Kohsuke Kawaguchi
Path:
changelog.html
core/pom.xml
http://hudson-labs.org/commit/core/081235acff1a791126bec3d395e9f3a38a53240e
Log:
[FIXED JENKINS-5090] Hudson installed as Windows service wasn't restarting properly
[Duplicates: JENKINS-4969]
[Duplicates: JENKINS-7110]
[Originally related to: JENKINS-2989]
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
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
Originally reported by mambu, imported from: Hudson restarts but the windows service doesn't