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

Update Puppet Server Java requirements documentation #1140

Closed
nateblack opened this issue Mar 8, 2024 · 2 comments
Closed

Update Puppet Server Java requirements documentation #1140

nateblack opened this issue Mar 8, 2024 · 2 comments
Labels
triaged This ticket has been accepted to our backlog and migrated internally

Comments

@nateblack
Copy link

I think Java requirements documentation needs to be updated. On "Installing Puppet Server" for 7.29.1, it says that Java 8 is still supported.

https://www.puppet.com/docs/puppet/7/server/install_from_packages

On an Amazon Linux 2 server with Java 8 (java-1.8.0-openjdk-headless.x86_64 / 1:1.8.0.402.b06-1.amzn2.0.1):

After I upgraded puppetserver from 7.14 to 7.16 and puppetdb from 7.15 to 7.17, puppetdb kept crashing:

Requesting shutdown: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer

It seems that Puppet is recently taking advantage of something not present in Java 8 (some method existed at compile time but is not present for the runtime).

Upgrading the server to Java 17 resolved the issue (java-17-amazon-corretto-headless.x86_64).

@lisarobertson lisarobertson added the triaged This ticket has been accepted to our backlog and migrated internally label Apr 24, 2024
Copy link

Migrated issue to PUPDOC-5629

@lisarobertson
Copy link

This issue has been fixed and will be published with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged This ticket has been accepted to our backlog and migrated internally
Projects
None yet
Development

No branches or pull requests

2 participants