Repository navigation
9.0.0-M4
Pre-releaseEclipse GlassFish 9 is an application server, implementing Jakarta EE. It is the GlassFish line for Jakarta EE 12, which is currently in development.
GlassFish 9.0.0-M4 is an early access milestone. Most Jakarta EE 12 APIs it contains are themselves milestone releases, and will change before Jakarta EE 12 is final. The highlight of this milestone is Jakarta Persistence 4.0 (API 4.0.0-M7), implemented by EclipseLink 6.0.0-M1.
9.0.0-M4 also incorporates all changes from the 8.0 branch up to GlassFish 8.0.5.
The following is the list of Jakarta EE APIs included, with their implementations. TCK results from the official Jakarta EE CI are not available yet for this milestone; "locally tested" means the TCK was run locally against this build or its components.
| API | Implementation | TCK |
|---|---|---|
| jakarta.el-api.version 6.1.0-M2 | Expressly 6.0.0 | not run yet |
| jakarta.annotation-api.version 3.0.0 | not run yet | |
| jakarta.inject-api.version 2.0.1 | Weld 7.0.0.Final | not run yet |
| jakarta.cdi-api.version 5.0.0 | Weld 7.0.0.Final | not run yet |
| jakarta.interceptor-api.version 2.2.0 | Weld 7.0.0.Final | not run yet |
| jakarta.rest-api.version 4.0.0 | Jersey 5.0.0-M1 | not run yet |
| jakarta.servlet-api.version 6.2.0-M2 | (internal in GlassFish 9.0.0-M4) | not run yet |
| jakarta.pages-api.version 4.1.0-M2 | WaSP 4.0.4 | not run yet |
| jakarta.websocket-api.version 2.3.0-M2 | Tyrus 2.3.0-M1 | not run yet |
| jakarta.faces-api.version 5.0.0-M12 | Mojarra 5.0.0-M12 | locally tested, passed |
| jakarta.authorization-api.version 3.0.0 | Exousia 4.0.0-M2 | not run yet |
| jakarta.authentication-api.version 3.1.0 | Epicyro 3.1.2 | not run yet |
| jakarta.security-api.version 5.0.0-M2 | Soteria 5.0.0-M3 | not run yet |
| jakarta.persistence-api.version 4.0.0-M7 | EclipseLink 6.0.0-M1 | locally tested standalone (EclipseLink); server TCK not run yet |
| jakarta.validation-api.version 4.0.0-M1 | Hibernate Validator 9.1.6.Final | not run yet |
| jakarta.concurrency-api.version 3.2.0-M3 | Concurro 3.2.0-M1 | not run yet |
| jakarta.data-api.version 1.1.0-M4 | Eclipse JNoSQL 2.0.0-M1 (NoSQL repositories) | not run yet |
| jakarta.nosql-api.version 1.1.0-M4 | Eclipse JNoSQL 2.0.0-M1 | not run yet |
| jakarta.jsonp-api.version 2.1.3 | Parsson 1.1.9 | not run yet |
| jakarta.json.bind-api.version 3.1.0-M2 | Yasson 3.1.0-M2 | not run yet |
| jakarta.xml.bind-api.version 4.1.0-M1 | Eclipse Implementation of JAXB 4.0.9 | not run yet |
| jakarta.mail-api.version 2.2.0-M1 | Angus Mail 2.1.0-M1 | not run yet |
| jakarta.activation-api.version 2.2.0-M2 | Angus Activation 2.1.0-M1 | not run yet |
| jakarta.messaging-api.version 3.1.0 | OpenMQ 6.9.0 | not run yet |
| jakarta.transaction-api.version 2.0.1 | (internal in GlassFish 9.0.0-M4) | not run yet |
| jakarta.resource-api.version 2.1.0 | (internal in GlassFish 9.0.0-M4) | not |
| jakarta.ejb-api.version 4.0.1 | (internal in GlassFish 9.0.0-M4) | not run yet |
| jakarta.batch-api.version 2.1.1 | JBatch 2.1.1 | not run yet |
| jakarta.mvc-api.version 3.0.1 | Krazo 4.0.2 | not run yet |
JDK 21 is required as a minimum. JDK 25 is the highest Java version currently supported, and this milestone also contains fixes for JDK 26.
Being an early access milestone build, this build should obviously only be used for testing.
Highlights
- Jakarta Persistence 4.0 with EclipseLink 6.0.0-M1.
- Jakarta NoSQL / Jakarta Data with Eclipse JNoSQL 2.0.0-M1.
- Woodstock moved into GlassFish, and the admin console adapted to the latest Mojarra.
- MicroProfile Rest Client fixed for CDI 5.
- JDK 26 compatibility fixes.
- Everything from GlassFish 8.0.5, plus later 8.0 fixes (listed below).
Specific to GlassFish 9.0
Jakarta Persistence 4.0 and EclipseLink 6
- Changes in GF for Persistence 4.0 by @arjantijms in #26285
- Implement and fix for Jakarta Persistence 4.0 by @arjantijms in #26309
- Integrate EclipseLink 6.0.0-M1 by @arjantijms in #26318
Jakarta Data and Jakarta NoSQL
- Update to Eclipse JNoSQL 1.2.0-M2 by @otaviojava in #26211
- Update to Eclipse JNoSQL 2.0.0-M1 by @otaviojava in #26306
- Update the JNoSQL dependencies, and move Weld and CDI management up to the p#26310
Jakarta Faces and the admin console
- Move the suntheme module from the Woodstock repository into GlassFish by @renatsaf in #26105
- Update versions, adjust the code for Mojarra changes and move Woodstock by @
- Migrate the deprecated property
c.s.faces.validateXmlto its new name ino.g.mojarraby @pzygielo in #26300
MicroProfile
- Fix
@RegisterRestClientdeployment on CDI 5 by @renatsaf in #26277 - Bump
microprofile.config-apifrom 3.1.1 to 3.1.2 by @pzygielo in #26228
JDK
- Fix JDK 26 incompatibilities by @arjantijms in #26189
Dependencies and build
- Bump hibernate-validator from 9.1.5.Final to 9.1.6.Final by @pzygielo in #26307
- Update the Hibernate manifest patches and force overwrite by @arjantijms in
- Update more versions in pom.xml and update the exclusion rules for versions by @arjantijms in #26315
- Try lowering the quotas for the JNLP pod by @arjantijms in #26190
- Try to reduce the memory for JNLP in the Jenkinsfile by @arjantijms in #26191
Merges from main (8.0)
- Merge main into 9.0 by @arjantijms in #26181
- Merge to 9 - phase 1 of several by @dmatej in #26281
- Merge to 9 - phase 2 of several by @dmatej in #26293
- Merge to 9 - phase 3 of 3 by @dmatej in #26296
Merged from main (GlassFish 8.0)
Admin console and administration
- Render the admin console tree when no configuration can be read by @renatsaf
- Honor the Admin Session Timeout for the admin console REST token by @renatsaf in #26092
- Fix the metadata parser in
RemoteAdminCommandby @JackienStephan in #26168 - Fix downloading the instance log file by @JackienStephan in #26169
- Fix issues when setting
defaultWebModulefor a virtual server or deleting enStephan in #26196 - Check pid file before probing the admin port, and back off in
ProcessUtils.waitFor, by @renatsaf in #26216 - Fix high DAS CPU utilization during slow server instance startup (#26256) by
Clustering, nodes and ORB
- Before migrating the node-agent element, check whether the nodes element already exists by @JackienStephan in #26170
- Fix an NPE when checking whether 'behind-proxy' is enabled on an SSH node by
- Raise the default ORB message fragment size to 8 KiB by @AngeloRubens in #26246
- Start ORB messages in a 1 KiB buffer whatever the fragment size by @angeloru
- Resolve the EJB service once, not on every IIOP request, by @AngeloRubens in #26248
Web container, deployment and class loading
- Measure HTTP session inactivity with a monotonic clock by @renatsaf in #2620
- Deployment speed improvements by @OndroMih in #26204
- Fix a class loader leak when redeploying an application at context root / by
- Add the Zip file extra-field headers (Header ID and Data Size) by @JackienStephan in #26184
Embedded GlassFish
- Fix JMS support in glassfish-embedded-all and add an embedded JMS test by @h
- Include the Jakarta Data/NoSQL implementation in the embedded web feature set by @hantsy in #26186
- Scan nested web-fragment JARs for annotations in an embedded ScatteredArchiv
- Use the standard WAR annotation scanner in Embedded GlassFish by @renatsaf in #26235
- Skip disabled network listeners when adding HTTP probes by @hantsy in #26286
- Shut down embedded Derby during PREPARE_SHUTDOWN by @hantsy in #26288
- Update the embedded Maven plugin applications with GlassFish configuration b
Security
- Honor the configured TLS cipher suite order by @renatsaf in #26232
- Store jaas-context in the base realm init and document it for custom realms
- JMX hardening by @Pandrex247 in #26278
Persistence and JDBC
- Fix connection pool validation when "at most once" > 0, plus other connectio in #26193
- Add the missing
org.eclipse.persistence.jsonmodule required by the EclipseLink Oracle extension (fixes #24212) by @renatsaf in #26226 - Remove
org.eclipse.persistence.dbwsfrom GlassFish by @OndroMih in #26273
MicroProfile
- Fix a MicroProfile Health NullPointerException for applications without CDI by @renatsaf in #26259
- Fix a memory leak in
ConfigProvider.getConfig()by @renatsaf in #26283 - Bump
microprofile.config-apifrom 3.1.1 to 3.1.2 by @pzygielo in #26229
Application client
- Fix the client-stub application-client.xml containing a JCP schemaLocation npping elements (#26265) by @dmiya3 in #26266
Logging
- Add the missing ".level" for logger "org.glassfish.main.jdke" in logging.properties by @JackienStephan in #26179
- Fix java.lang.IllegalArgumentException: "resource bundle must have a name" b
Refactoring
Dependency updates
- Upgrade Helidon from 4.5.1 to 4.5.4 by @OndroMih in #26200
- Upgrade Jackson to 2.22.2 by @OndroMih in #26203
- Update Mojarra to 4.1.17 by @OndroMih in #26222
- Update ha-api, Shoal, Ant, DbSchema and Schema2Beans by @dmatej in #26221
- Update the patches and related dependencies by @dmatej in #26267
- Cleanup in the Jakarta EE artifacts by @dmatej in #26284
- Update Jakarta Data and JNoSQL versions by @otaviojava in #26209
- Update JNoSQL to 1.1.18 by @otaviojava in #26224
- Update JNoSQL to 1.1.19 by @otaviojava in #26239
- Update JNoSQL to 1.1.20 by @otaviojava in #26263
Tests
- Add a MongoDB Jakarta Data repository smoke test by @mhnuk2007 in #26218
- More stable schedule_on_ejb_timeout test by @dmatej in #26220
- Fix a flaky timeout duration assertion in
JtaTimeoutLoggingITestby @renat - Add the MicroProfile TCKs to the Jenkinsfile, and fix them, by @dmatej in #26268
- Rename the duplicate application-tests module and remove jdbc-tests from the@dmatej in #26270
CI and build
- Rewrite the Jenkinsfile, based on the one in the 9.0 branch, by @dmatej in #26195
- Jenkinsfile and GitHub Actions updates by @dmatej in #26202
- Jenkinsfile cleanup, increased parallelism, increased slaveConnectTimeout by @dmatej in #26208
- Jenkinsfile: disabled snapshots, tar failures escalate, -ntp, stash all we b
- Jenkinsfile improvements by @dmatej in #26223
- Don't declare the build Unstable, just append warnings to its description, b
- Add the MAVEN_ARGS environment property as an option to enable snapshots by @dmatej in #26292
Documentation
- Update the obsolete HK2 APIs in the add-on guide (#25008) by @AzazelSensei i
- Document the breaking changes in GlassFish 7.1 and 8.0 by @renatsaf in #26237
GlassFish 8.0.5 release
- Updates for the future 8.0.5 release by @dmatej in #26242
- TCK results for Platform and core for GF 8.0.5 by @arjantijms in #26253
- Released 8.0.5 by @dmatej in #26250
- Website update for 8.0.5 by @OndroMih in #26261
New Contributors
- @JackienStephan made their first contribution in #26179
- @mhnuk2007 made their first contribution in #26218
- @AzazelSensei made their first contribution in #26198
- @AngeloRubens made their first contribution in #26246
- @SavioFerreira made their first contribution in #26041
Full Changelog: https://github.com/eclipse-ee4j/glassfish/compare/9.0.0-M3