Hello Oleg
Huge thanks, I used:
java -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar jenkins.war --httpPort=9090
And through the Web browser I am able to accomplish:
And works, but the server terminal remains showing the following:
2020-05-16 18:37:30.785+0000 [id=19] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session.
2020-05-16 18:37:37.102+0000 [id=14] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session.
2020-05-16 18:37:42.140+0000 [id=20] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session.
2020-05-16 18:37:47.214+0000 [id=15] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session.
2020-05-16 18:37:49.382+0000 [id=84] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session.
2020-05-16 18:37:55.059+0000 [id=19] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session.
2020-05-16 18:38:00.131+0000 [id=14] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session.
2020-05-16 18:38:04.217+0000 [id=15] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session.
2020-05-16 18:38:09.645+0000 [id=20] WARNING h.s.HttpSessionContextIntegrationFilter2#hasInvalidSessionSeed: Encountered IllegalStateException trying to get a user. System init may not have completed yet. Invalidating user session.
And well, after of a time, nothing happens, I must use the Ctrl + C
So, seems something is missing
Again, thanks for your support
For Windows self-restart is supported when running as a Windows service: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/lifecycle/WindowsServiceLifecycle.java . If you start with "-Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle", it should self-restart well