Eclipse GlassFish 8.0.5 released: faster deployments, stronger Embedded GlassFish, and security fixes

Eclipse GlassFish 8.0.5: faster deployments and stronger embedded support.

Eclipse GlassFish 8.0.5 was released on October 4, 2026. In this release, the OmniFish team took special care about improving deployment times, while the community contributed improvements in Embedded GlassFish that add some capabilities that were only available in GlassFish Server. The result is a release with around 50% faster deployments in our large-application benchmark, more capable yet still lightweight Embedded GlassFish, useful security updates, and fixes for real problems reported by OmniFish customers.

Faster deployments, with more work ahead

Large enterprise applications do not enjoy waiting for a server to inspect every archive, dependency, and deployment descriptor before they can start. We heard that clearly from OmniFish customers. Their feedback strongly shaped the deployment work in 8.0.5.

The improvements focus on the parts of deployment that can get expensive in large EAR applications: CDI archive detection, annotation and metadata processing, repeated access to deployment archives, EJB validation, and class loading for RAR files. In our benchmark with a large application, these changes made deployment around 50% faster. That result is specific to the tested application, so it should not be read as a universal promise for every WAR or EAR. Still, it shows that there was real time to recover from the deployment path. You can see the benchmark details in the deployment improvement pull request.

This is part of a longer effort. GlassFish 8.0.3 improved Embedded GlassFish startup time, and 8.0.5 improves deployment speed of both GlassFish Server and Embedded GlassFish. We are already looking at the next set of ideas: keeping index data for repeated deployments of the same JARs and WARs, supporting indexes created during the build with tools such as Jandex, improving classpath scanning itself, and evaluating whether a scanner such as ClassGraph could improve on the current HK2 scanner. These are options we are testing, not promises for the next release. The main point is simple: deployment time is now a performance area we are actively working on.

Around 50% faster deployments in OmniFish’s large-application benchmark.

More capable Embedded GlassFish

Embedded GlassFish is not only for tests. OmniFish supports it for production use, just like GlassFish Server. While it still makes sense to embed the runtime in an application or use it in testing, the primary production scenario now focuses on running applications with Embedded GlassFish on command line, without additional repackaging or embedding. The goal is to bring Embedded GlassFish closer to GlassFish Server wherever that makes sense, while keeping its small footprint and fast startup to meet the current cloud and microservice deployment needs.

Three fixes in 8.0.5 are important here.

First, Embedded GlassFish now uses the normal WAR annotation scanner. Before this change, annotations in JARs under WEB-INF/lib could be skipped in embedded WAR deployments. That could break use cases such as EJB injection in libraries packaged with the application. The fix restores the expected behavior and adds tests for it. Pull request #26235 has the technical details.

Second, glassfish-embedded-all now has working JMS support. The release fixes the embedded broker lifecycle, the default JMS connection factory, class loading, packaging of required OpenMQ runtime files, and clean shutdown. The new integration test sends a message to an MDB and verifies the full round trip. This is the sort of feature that should simply work when you select an embedded Jakarta EE runtime, and now it does. Pull request #26187 describes the full set of fixes.

Third, the Embedded GlassFish web feature set now includes the Jakarta Data implementation through Eclipse JNoSQL. A Jakarta Data @Repository that previously failed during CDI deployment can now run on Embedded GlassFish as it does on the full server. Pull request #26186 includes the new regression test.

We have more work planned for Embedded GlassFish. We want to make configuration of features such as certificates and custom realms easier, especially where they normally require editing files in a GlassFish Server domain directory. We also plan to raise embedded test coverage to the level of GlassFish Server and run the Jakarta EE and MicroProfile TCKs against Embedded GlassFish regularly. Today, we do that for GlassFish Server. Embedded GlassFish should earn the same confidence through the same kind of testing.

Embedded GlassFish with JMS, Jakarta Data and annotation scanning, keeping a small footprint and fast startup.

Connection pools that recover properly

The JDBC connection-pool fixes in 8.0.5 were also strongly inspired by OmniFish customer feedback. These are the kinds of problems that can look harmless until an application has been running for a while and a database connection fails at the wrong moment.

The release fixes several cases where GlassFish could fail to recover cleanly. If a connection became invalid before the next periodic validation, starting a local transaction could leave the connection in an inconsistent state. Connection validation could then stop replacing it properly. Another fix handles a connection recreated after validation failure that was incorrectly reported as not busy. A third fix refreshes cached credentials after a change to a credential-protected pool, so administrators can change pool configuration without making new connections fail until a server restart.

These fixes are covered by new integration tests. For teams that manage long-running database-backed applications in production, this is exactly the kind of release work that matters. See pull request #26193 for the affected scenarios.

Security fixes and stronger TLS behavior

The 8.0.5 release and security review were led by OmniFish. It brings several important component upgrades and finishes security work that started in earlier releases.

GlassFish now includes Grizzly 5.0.3, which contains the complete fix introduced in Grizzly 5.0.2 for CVE-2026-12606, an HTTP request-smuggling issue caused by handling malformed trailer headers. GlassFish 8.0.3 included a partial mitigation. Grizzly 5.0.2 enabled strict HTTP header name and value validation by default, providing the complete fix that is now part of GlassFish 8.0.5. If an older client relies on non-compliant headers, it may need correction. Turning strict validation off is possible but discouraged because it reopens the risk. The Grizzly 5.0.2 release notes explain the change and the related compatibility setting.

The update to Mojarra 4.1.17 also brings the fix for CVE-2026-46581. The high-severity issue affected URL handling in Mojarra’s DefaultFaceletFactory. A remote Facelet URL could be included and processed with the privileges of the target server, which could expose restricted files. The issue was fixed in Mojarra 4.1.13 and is included in the newer Mojarra version shipped by GlassFish 8.0.5.

We also upgraded Jackson to 2.22.2. The release fixes three DataBind CVEs: CVE-2026-68497, which adds size constraints when deserializing XML duration and calendar values; CVE-2026-19032, which limits URI schemes for java.nio.file.Path deserialization; and CVE-2026-83557, which treats Comparable as an unsafe base type for polymorphic deserialization. The same Jackson release notes document these changes.

Administrators who use ssl3-tls-ciphers should also notice a welcome TLS fix. GlassFish now honors the cipher-suite order they configure for TLS 1.2. Before 8.0.5, the server could use the client’s preferred cipher suite instead, even if the server had placed a forward-secret ECDHE suite first. The fix preserves your configured order and enables server preference. TLS 1.3 is not affected.

For example, if your security policy allows both suites but you want ECDHE selected before RSA, list ECDHE first:

ssl3-tls-ciphers="+TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,+TLS_RSA_WITH_AES_128_GCM_SHA256"

Use cipher suites that fit your organisation’s security policy and client compatibility requirements. This is only a small configuration example. The main change is that the order now means what it says. More details are available in pull request #26232.

Better session, startup, and administration behavior

A few smaller fixes deserve a mention because they remove annoying operational edge cases.

HTTP session inactivity is now measured with a monotonic clock. In plain terms, moving the system clock forward or back no longer makes a session expire early or stay alive longer than its configured timeout. This is useful on systems where time can be adjusted while the server is running. Pull request #26206 explains the implementation.

The Admin Console now keeps its REST token in sync with the configured admin session timeout. Previously, a console session configured to never expire could still be logged out after the REST token’s default 30-minute timeout. Pull request #26092 fixes that mismatch.

Starting a domain is also more polite to the server. asadmin start-domain no longer probes the administration port in a busy loop while the server is still starting. It waits for the PID file first and pauses briefly between checks. This avoids needlessly filling the admin thread pool on slow starts. Pull request #26216 includes the before-and-after test results.

There are several other practical fixes as well. Malformed request URIs are now answered with HTTP 400 rather than a misleading HTTP 500 and a stack trace. Hostname selection is less guessy, with AS_HOSTNAME available when a specific hostname is needed. ZIP files produced by administrative export commands work with newer JDK ZIP validation. The release also fixes virtual-server administration, SSH-instance administration, remote log download, upgrade handling for nodes, and documentation for custom realms and GlassFish 7.1 and 8.0 upgrade changes.

OmniFish and the community improving GlassFish together

OmniFish authored many of the improvements in 8.0.5, including the deployment performance work, JDBC connection-pool fixes, component updates, release work, and security review. Pull requests from @OndroMih, @dmatej, and @arjantijms in this release came from OmniFish.

At the same time, this release has significant work from non-OmniFish community contributors. We work closely with them to make GlassFish better together. @renatsaf contributed key work on Embedded GlassFish scanning, TLS cipher ordering, sessions, startup behavior, custom realms, and more. @JackienStephan contributed administration and upgrade fixes. @hantsy helped bring Jakarta Data and working JMS support to Embedded GlassFish. @pzygielo and @otaviojava contributed component updates. @mhnuk2007 added a MongoDB Jakarta Data repository smoke test, and @AzazelSensei updated the add-on guide.

This was also the first GlassFish contribution for @JackienStephan, @mhnuk2007, and @AzazelSensei. Thank you to everyone who contributed code, review, test coverage, and feedback. A healthy Eclipse GlassFish project needs both commercial investment and an active community. GlassFish 8.0.5 is a good example of that working in practice.

Get the update and keep moving

Eclipse GlassFish 8.0.5 makes a strong case for the value of steady release work. It improves the time developers spend waiting for applications to deploy. It makes Embedded GlassFish more useful for real applications. It resolves production issues in JDBC pools and administration. It updates important security components and gives TLS configuration the behavior administrators expect.

If you run GlassFish in production and need help with an upgrade, a performance issue, security patching, or a feature that matters to your application, talk to OmniFish. Our support plans include direct access to core GlassFish engineers, troubleshooting, security fixes, and help with production deployments.

Related reading and watching

Leave a Comment

Your email address will not be published. Required fields are marked *

Captcha loading...

Scroll to Top