Skip to content

Conversation

@Pandrex247
Copy link
Member

@Pandrex247 Pandrex247 commented Feb 6, 2026

Description

Clusters have been deprecated since Payara 5: time for us to finally remove them.

Also removes some lingering GMS traces which missed getting removed in Payara 5.

WIP: Still need to finish reviewing the asadmin and admin console help pages. Also need to finish testing everything.

Includes a couple of additional related fixes:

  • Fixes get --monitor --aggregatedataonly encountering errors when used on a deployment group rather than a cluster
  • Ensures collect-log-files works against deployment groups
  • Fixes an "expected NPE" when collecting the IIOP endpoints for instances which aren't in a cluster
    • Also fixes the same method encountering NumberFormatExceptions if the orb listener port wasn't a system property

These last two fixes may change behaviour - need to review/test

Also includes a bit of formatting here-and-there for some of the most egregiously badly formatted classes (looking at you JMS). I otherwise tried to constrain any formatting changes to the methods I was editing.

Important Info

Blockers

None

Testing

New tests

Reworked the Cluster quicklook tests as Deployment Group tests.

Testing Performed

Ran quicklook
Loaded the admin console and poked around (including in the "offline" help docs).

Testing Environment

Windows 11, Maven 3.9.12, Zulu JDK 21.0.10
Quicklook tests ran in WSL OpenSUSE Tumbleweed as the tests don't run on Windows

Documentation

Pending...

Notes for Reviewers

Good Luck™

The build completes, all unit tests pass, and the server starts.
The admin console needs some further work though, as that currently
encounters errors when attempting to load.

Some of the JMS and IIOP changes raise concerns and will require testing
as these seem extremely coupled together with Clusters, for example all of the
master broker stuff: some stuff has outright been removed. We may need to do a
pass with adding support for deployment groups through here, as there were some
eyebrow raising ommisions with support for it in some places but not others.

I also did some minor code cleanup as I made my way through, typically
restricting myself to only doing so on the methods I was already editing,
and removing missing package imports. The exception to this is with some of
the JMS classes, as the formatting here was atrocious and making it difficult
to read.

Signed-off-by: Andrew Pielage <[email protected]>
This command should now work for deployment groups, and no longer get a NPE when targetted at them
 Adjusts the IiopFolbGmsClient implementation to use deployment groups instead.
This method didn't understand what to do if the value wasn't a property
…tIIOPEndpoints behaviour

Always recalculate, and don't directly edit the currentMembers map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant