Jenkins 1.599 oracle JDK no longer populates a drop down list

113 views
Skip to first unread message

Sean Last

unread,
Feb 18, 2015, 3:11:04 PM2/18/15
to jenkins...@googlegroups.com
And it throws an error about not having any data if you try and build with a new java version.  

Anyone seen this?  Any ideas?

Mark Waite

unread,
Feb 18, 2015, 3:23:26 PM2/18/15
to jenkins...@googlegroups.com
It may be best to ask questions about compiling Jenkins with a specific JDK on the jenkins-dev mailing list.

There were issues in the past when compiling with Java 8.  I believe the shipped Jenkins compiles with Java 7.

On Wed, Feb 18, 2015 at 1:11 PM, Sean Last <qkt...@gmail.com> wrote:
And it throws an error about not having any data if you try and build with a new java version.  

Anyone seen this?  Any ideas?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/87f76cce-f04f-4fbb-a324-4635f294fd65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

Sean Last

unread,
Feb 18, 2015, 3:42:18 PM2/18/15
to jenkins...@googlegroups.com
not compiling jenkins.  Getting jenkins to download the JDK from oracle.  However, it appears that even though I can ping and wget from all appropriate servers on this vagrant image, jenkins itself can't reach out for some reason  Which is weird, because I've never had a problem before.

Richard Bywater

unread,
Feb 18, 2015, 3:48:28 PM2/18/15
to jenkins...@googlegroups.com
Might be worth sharing the error you are seeing as its hard to diagnose in the dark :)

Richard.

Clifford Sanders

unread,
Mar 24, 2015, 4:59:37 AM3/24/15
to jenkins...@googlegroups.com
We use version 1.594 and have the same problem. I attached a screenshot.

Clifford
JDK_installer.png

Clifford Sanders

unread,
Mar 24, 2015, 5:23:25 AM3/24/15
to jenkins...@googlegroups.com
The JDKs that were already configured to download from java.sun now all have the same 'JDK ID': jdk-8u40-oth-JPR (see attached screenshot)

Clifford
JDK_installer_2.png

Daniel Beck

unread,
Mar 24, 2015, 5:24:11 AM3/24/15
to jenkins...@googlegroups.com
Go to Manage Jenkins » Manage Plugins » Advanced and click 'Check Now'.

If that doesn't help, check the log at /log/all for possibly relevant messages.

Are you in China or a neighboring country?

On 24.03.2015, at 09:59, Clifford Sanders <cliff...@gmail.com> wrote:

> We use version 1.594 and have the same problem. I attached a screenshot.
>
> Clifford
>
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/49458490-11c5-493c-aa6e-c5a66c7fb463%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
> <JDK_installer.png>

Clifford Sanders

unread,
Mar 24, 2015, 6:11:38 AM3/24/15
to jenkins...@googlegroups.com, m...@beckweb.net
clicking on 'Check Now' didn't help and we are located in Germany.

As Jenkins is started with '--logfile=/home/jenkins/logs/jenkins.log' you mean this logfile? Nothing relevant in there.

I downloaded jenkins-1.594.war and started it locally. The drop-down was populated with all JDKs.



Then I looked at the file 'hudson.tools.JDKInstaller' that was mentioned in the issue. The contents was exactly the same as the file 'hudson.tasks.Maven.MavenInstaller' which is very strange but could be the reason for the error.
I deleted 'hudson.tools.JDKInstaller' hoping that it would be downloaded again. But nothing happend.

Clifford

Daniel Beck

unread,
Mar 24, 2015, 6:17:23 AM3/24/15
to jenkins...@googlegroups.com
>
> Then I looked at the file 'hudson.tools.JDKInstaller' that was mentioned in the issue. The contents was exactly the same as the file 'hudson.tasks.Maven.MavenInstaller' which is very strange but could be the reason for the error.

Fixed in 1.596 with server-based download.

> I deleted 'hudson.tools.JDKInstaller' hoping that it would be downloaded again. But nothing happend.

The easiest solution is to restart Jenkins to force a redownload.

Clifford Sanders

unread,
Mar 24, 2015, 6:39:09 AM3/24/15
to jenkins...@googlegroups.com, m...@beckweb.net
Updating or restarting can't be done during office hours.

I solved it by copying the file 'hudson.tools.JDKInstaller' from my local Jenkins to the 'updates' directory on the remote Jenkins.

Is there a Jira issue for the fix in 1.596? The original poster wrote that the error still occures in 1.599.

Clifford

Daniel Beck

unread,
Mar 24, 2015, 6:50:05 AM3/24/15
to jenkins...@googlegroups.com

On 24.03.2015, at 11:39, Clifford Sanders <cliff...@gmail.com> wrote:

> Is there a Jira issue for the fix in 1.596? The original poster wrote that the error still occures in 1.599.

I got the versions wrong, it's 1.596.1 (LT)S and 1.600 that are fixed. They require the administrator to disable browser-based downloads in the security preferences.

The fix is for SECURITY-163, described at https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2015-02-27, and it is thought to fix this reliability issue as well.

Clifford Sanders

unread,
Mar 24, 2015, 6:59:25 AM3/24/15
to jenkins...@googlegroups.com, m...@beckweb.net
Thanks Daniel. I also found this related Jira isuue:

"Auto-installer for JDK no longer works": https://issues.jenkins-ci.org/browse/JENKINS-26780

Daniel Beck

unread,
Mar 24, 2015, 7:06:10 AM3/24/15
to jenkins...@googlegroups.com

On 24.03.2015, at 11:59, Clifford Sanders <cliff...@gmail.com> wrote:

> Thanks Daniel. I also found this related Jira isuue:
>
> "Auto-installer for JDK no longer works": https://issues.jenkins-ci.org/browse/JENKINS-26780

Right, it contains a bit of background info. Note that that was before the version that now defaults to server-based download came out. Now I recommend using server-based downloads in general.

Reply all
Reply to author
Forward
0 new messages