Skip to content

Merge #6151 from 4.0 into 4.1 - #6155

Merged
BalusC merged 4 commits into
mainfrom
upmerge_6151
Nov 9, 2026
Merged

BalusC merged 4 commits into
mainfrom
upmerge_6151

Conversation

@BalusC

@BalusC BalusC commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Upmerge of #6151 and the profile rename a267338 from 4.0 into 4.1. Opened as a PR to watch CI before it lands on main.

Differences from 4.0

On 4.1 the default GlassFish profile also serves the perf bench. The bench needs a server of its own and an aligned heap (glassfish.maxHeapSize), which the pool does not offer. So there are two profiles:

  • glassfish-pool is the default and is used by a plain mvn verify and by CI. It runs on GlassFish 8.0.4 with the EE 11 client.
  • glassfish is the managed server, unchanged from the previous default profile. It is now selected explicitly, like -Pwildfly and -Ptomcat.

glassfish-pool rejects -Dperf=true, because a bench on the pool would run with a different heap than on the other servers. The error says to name a server. test/perf/README.md and test/perf/Jenkinsfile are updated to these names.

CI stays on JDK 21 and uses the two-step build with -T2 from 4.0.

Verification

On JDK 21, with impl unit tests passing:

  • -T2 on the pool: issue6130 and issue6131 pass.
  • -Dperf=true without a server fails at validate.
  • -Dperf=true -Pglassfish runs PerfBenchIT with -Xmx1g.
  • -Dperf=true -Ptomcat passes validate.
  • -P '!glassfish-pool' starts no pool.

Please merge with a merge commit, not a squash, so that 4.0 stays an ancestor of main.

🤖 Generated with Claude Opus 5.5

BalusC and others added 4 commits November 9, 2026 07:34
Each IT module unpacked and booted its own GlassFish. Lease a running
slot from glassfish-pool-maven-plugin instead, so test/ can build with
-TN. Sequential stays the default: the other server profiles still use
fixed ports.

Run the ITs as a separate CI step with -T2. The test modules have no
reactor dependency on impl, so a parallel root build could start them
before impl is installed.

Skip the per-module aggregate SBOM in test/: the modules are test
fixtures and the aggregator mojo serializes parallel builds.

Build on JDK 17 in CI: the pool's container classes target Java 17.
maven.compiler.release stays 11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run GlassFish ITs on a shared server pool
On 4.1 and 5.0, glassfish is the managed server for the perf bench
and glassfish-pool is the default. Use the same names on 4.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On 4.1 the default glassfish profile also served the perf bench, which
needs a server of its own and glassfish.maxHeapSize. Keep that setup as
the glassfish profile, now selected explicitly like the other servers.
The pool becomes the default glassfish-pool profile, on GlassFish 8
with the EE 11 client, and rejects -Dperf=true.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BalusC BalusC added this to the 4.1.21 milestone Nov 9, 2026
@BalusC
BalusC merged commit 48eaf66 into main Nov 9, 2026
2 checks passed
@BalusC
BalusC deleted the upmerge_6151 branch November 9, 2026 12:19
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