Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FISH-12969 Payara Server Startup Fails in Apache NetBeans IDE Due to the CRaCCheckpointTo Option#9237

Open
jGauravGupta wants to merge 1 commit intoapache:masterfrom
jGauravGupta:FISH-12969
Open

FISH-12969 Payara Server Startup Fails in Apache NetBeans IDE Due to the CRaCCheckpointTo Option#9237
jGauravGupta wants to merge 1 commit intoapache:masterfrom
jGauravGupta:FISH-12969

Conversation

@jGauravGupta
Copy link
Contributor

Payara Server startup may fail in Apache NetBeans when domain.xml contains
the JVM option:

-XX:CRaCCheckpointTo=...

This option is only supported by CRaC-enabled JDKs. The IDE
previously filtered JVM options only by version and vendor, without checking
whether the selected JDK supports CRaC. As a result, non-CRaC JDKs failed to
start with “Unrecognized VM option” errors.

This PR enhances JDKVersion.isCorrectJDK(...) to additionally validate
CRaC-related options. CRaC options are now applied only if the selected
server JDK (javaHome) contains lib/criu, indicating CRaC support.

No changes to existing vendor/version logic. Standard JDK behavior remains
unchanged.

@jGauravGupta jGauravGupta added Java EE/Jakarta EE [ci] enable enterprise job labels Feb 27, 2026
Copy link

@simonladen simonladen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, with Payara 6.34.0.
Server starts/stops without error.

@apache apache locked and limited conversation to collaborators Mar 2, 2026
@apache apache unlocked this conversation Mar 2, 2026
@matthiasblaesing
Copy link
Contributor

@jGauravGupta if you change the labels after creation of the PR, the tests don't automatically get executed again. In these cases please use the following "trick" to force rerun of tests:

Use "Lock conversation" and immediately unlock again. That acts as a trigger.

I did this right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java EE/Jakarta EE [ci] enable enterprise job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants