![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
current |
|
Assignee:
|
Unassigned |
|
Components:
|
core |
|
Created:
|
19/Apr/14 8:22 PM
|
|
Description:
|
When running as a Windows service, Jenkins is unable to restart itself after installing/upgrading plugins or running /restart. The tail of jenkins.err.log reads:
"""
WARNING: Failed to restart Hudson
java.io.IOException: Restarting a service
[Jenkins] $ "C:\Program Files (x86)\Jenkins\jenkins.exe" restart
at hudson.lifecycle.WindowsServiceLifecycle.restart(WindowsServiceLifecycle.java:135)
at jenkins.model.Jenkins$23.run(Jenkins.java:3288)
"""
Seeing this issue on two different Windows machines. Can be tested with a stock installation of jenkins-1.559.msi. After Jenkins is installed, go to localhost:8080/restart and restart. The Jenkins service will stop but not restart, and the above error can be seen in the err log.
Went back and tested 1.549, 1.554, 1.557 and 1.558. None of these exhibited this problem. Reinstalled 1.559, and saw the problem immediately.
Work-around is to run Windows Services manager and manually restart Jenkins service.
|
|
Environment:
|
Windows 7 Enterprise, 64-bit, SP1
Java 1.7.0_55
|
|
Project:
|
Jenkins
|
|
Labels:
|
jenkins
windows
service
|
|
Priority:
|
Minor
|
|
Reporter:
|
Sal Merino
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/d/optout.