After upgrading Java to Java 17 Jenkins is not working. Upgraded all the plugins as well. It is installed on windows server .The service is looping between start and stop. Jenkins is not coming up.Version: Jenkins 2.452.3
Sorry Mark, if I'm not clear. I updated the Java path in Jenkins.xml to Java17 and restarted Jenkins from the Windows service. However, the service automatically starts and stops Jenkins. When I try to access the Jenkins application it throws a message that, the site is unreachable. When the Java path is reverted to Java 11, it works fine.
The Description should be comprehensive to allow others to understand the problem or improvement request immediately. A few suggestions on what to include (again, mostly applicable to bug reports):
Did the issue occur after an upgrade of Jenkins or any plugins? If so, what was/were the previous version(s), what is/are the current version(s)? Does downgrading resolve the issue? For plugins, the previous versions can often be seen in Plugin Manager (where it offers to downgrade to the previous version).
Include log output and stack traces of error messages from the UI or any client programs.
Provide a complete step-by-step description of how to reproduce the problem. We cannot see your screen, so be comprehensive. Consider switching the Jenkins UI to English by changing your web browser’s configuration to get the labels right.
If possible, provide information on the circumstances the issue occurs with (or doesn’t), e.g. "only when starting the agent via SSH", "only when using Tomcat as container", etc. – this may be some work, but it’ll make reproducing and fixing the issue much easier!
Does the issue occur with a new Jenkins installation not reusing any old configuration or data? Try to reproduce the problem with a pristine Jenkins installation with as little customization as possible.