In our current jenkins installation (using a war file running inside jetty on ubuntu) whenever we try to do a safeRestart or a restart it hangs displaying a page "Please wait while Jenkins is restarting"
This never finishes and we have to restart jetty manually.
This is what we see in the logs:
WARNING: Failed to restart Jenkins
java.io.IOException: Failed to exec 'jsvc.exec' No such file or directory
at hudson.lifecycle.UnixLifecycle.restart(UnixLifecycle.java:84)
at jenkins.model.Jenkins$23.run(Jenkins.java:3418)
Any ideas? Thanks