timja / jenkins-gh-issues-poc-06-18

0 stars 0 forks source link

[JENKINS-41208] Jenkins 2.41 crashes on startup with Oracle JDK 1.8.0_121-b13 #3795

Closed timja closed 7 years ago

timja commented 7 years ago

Jenkins 2.41
Oracle JDK 1.8.0_121-b13
CentOS 5 x86_64

When starting up Jenkins, this is found in the logs:

Running from: /var/lib/jenkins/jenkins.war
Jan 19, 2017 6:37:52 AM Main deleteWinstoneTempContents
WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
Jan 19, 2017 6:37:52 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized @754ms
Jan 19, 2017 6:37:52 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
Jan 19, 2017 6:37:52 AM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
Jan 19, 2017 6:37:52 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Jan 19, 2017 6:37:53 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jenkins home directory: /var/lib/jenkins found at: SystemProperties.getProperty("JENKINS_HOME")
Jan 19, 2017 6:37:54 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started w.@7c137fd5

{/,file:/var/cache/jenkins/war/,AVAILABLE} {/var/cache/jenkins/war}

Jan 19, 2017 6:37:54 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector@510b4ea8

{HTTP/1.1} {0.0.0.0:8080}

Jan 19, 2017 6:37:54 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started @2701ms
Jan 19, 2017 6:37:54 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Jan 19, 2017 6:37:55 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization

The same instance works well with jdk1.8.0_112.

Of course this looks like a but in the JDK, not Jenkins. I was wondering if others see the same issue?


Originally reported by simix, imported from: Jenkins 2.41 crashes on startup with Oracle JDK 1.8.0_121-b13
  • status: Closed
  • priority: Minor
  • resolution: Not A Defect
  • resolved: 2017-01-21T10:10:14+00:00
  • imported: 2022/01/10
timja commented 7 years ago

simix:

The same instance started successfully on another host... The host where Jenkins crashes has also NetBeans installed, where parts of it like mvn are used for Jenkins builds.
The NetBeans version which was installed was netbeans-8.2-201610071157. This version was removed from the NetBeans download page and replaced with the former version netbeans-8.2-201609300101.
I have downgraded now to this older version and voila, Jenkins starts with the latest JDK.