Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins no longer supports java 7 #638

Closed
ndelic0 opened this issue Sep 14, 2016 · 1 comment
Closed

Jenkins no longer supports java 7 #638

ndelic0 opened this issue Sep 14, 2016 · 1 comment
Labels
bug Something isn't working

Comments

@ndelic0
Copy link

ndelic0 commented Sep 14, 2016

On a CentOS6 java class by default installs java-openjdk-1.7.0. That one is no more supported by latest version of Jenkins. The error I'm getting is:
SEVERE: Failed to initialize Jenkins java.lang.InternalError at sun.security.ec.SunEC.initialize(Native Method) at sun.security.ec.SunEC.access$000(SunEC.java:49) at sun.security.ec.SunEC$1.run(SunEC.java:61) at sun.security.ec.SunEC$1.run(SunEC.java:58) at java.security.AccessController.doPrivileged(Native Method) at sun.security.ec.SunEC.<clinit>(SunEC.java:58) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:383) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206) at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187) at sun.security.jca.ProviderList.loadAll(ProviderList.java:282) at sun.security.jca.ProviderList.removeInvalid(ProviderList.java:299) at sun.security.jca.Providers.getFullProviderList(Providers.java:173) at java.security.Security.removeProvider(Security.java:444) at hudson.WebAppMain.contextInitialized(WebAppMain.java:117) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
Issue solved with following:

class { 'java': package => 'java-1.8.0-openjdk-devel', before => Class['jenkins'], }
class { 'jenkins': install_java => false, }

@jhoblitt
Copy link
Member

This is really an issue with puppetlabs/java. I'm not sure what we can reasonably do other than changing install_java to false by default?

@jhoblitt jhoblitt added the bug Something isn't working label Sep 20, 2016
@ekohl ekohl closed this as completed May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants