Skip to content

9.0.0-M4

Pre-release
Pre-release

Choose a tag to compare

@arjantijms arjantijms released this 08 Nov 20:28
5741a71

Eclipse GlassFish 9 is an application server, implementing Jakarta EE. It is the GlassFish line for Jakarta EE 12, which is currently in development.

jakartaee12_glassfish9

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

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.validateXml to its new name in o.g.mojarra by @pzygielo in #26300

MicroProfile

JDK

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)

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 RemoteAdminCommand by @JackienStephan in #26168
  • Fix downloading the instance log file by @JackienStephan in #26169
  • Fix issues when setting defaultWebModule for 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.json module required by the EclipseLink Oracle extension (fixes #24212) by @renatsaf in #26226
  • Remove org.eclipse.persistence.dbws from 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-api from 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

  • Rename com.sun.enterprise.backup to org.glassfish.main.backup by @renatsaf in #26102

Dependency updates

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 JtaTimeoutLoggingITest by @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

GlassFish 8.0.5 release

New Contributors

Full Changelog: https://github.com/eclipse-ee4j/glassfish/compare/9.0.0-M3