7.1.0-M1
Pre-release
Pre-release
This Eclipse GlassFish 7.1 milestone release brings significant improvements, including a migration from deprecated DerbyDB classes, enhanced initialization processes, improved timeout management, keystore migration, and extensive MicroProfile enhancements, alongside modularization for faster startup. These advancements, and the move to support Java 17-25, are largely thanks to several GlassFish committers and the dedicated efforts of OmniFish, whose contributions have been instrumental in shaping this release.
GlassFish 7.1.0 Milestone 1 is a milestone release, containing final Jakarta EE 10 APIs and several MicroProfile APIs. It compiles and runs on JDK 17 to JDK 25.
New Features
- Add Microprofile Health by @Thihup in #25186
- Update MicroProfile REST Client to 4.0 by @avpinchuk in #25681
Breaking Changes
- Minimal JDK version updated from 11 to 17 by @dmatej in #25627
- Raise the generated bytecode level to JDK 17 by @avpinchuk in #25631
- Removed embedded-nucleus - nobody used it, we did not test it by @dmatej in #25557
Feature Improvements
- Variable references can be also resolved from environment variables by @OndroMih in #25541
- Expand support for MicroProfile APIs to GlassFish Web Profile and Embedded by @OndroMih in #25703
- Created asadmin.java and nadmin.java by @dmatej in #25714
Performance Improvements
- Add sniffer for MicroProfile REST Client by @OndroMih in #25492
- Redesign of GlassFish bootstrap by @dmatej in #25183
- Faster detection of implicit CDI archives during deployment by @OndroMih in #25520
Other Improvements
- Improved Derby and CommonClassLoaderService initialization by @dmatej in #25468
- Migrating keystores from JKS to PKCS12, fixed TCK tests by @dmatej in #25517
- Improvements in GJULE by @dmatej in #25479
- Classloaders parallelCapable and named by @dmatej in #25490
- Improved stopping local servers by @dmatej in #25498
- Expose services with local parent locator scope (e.g. @runlevel) to the service locator in system apps by @OndroMih in #25485
- Improving ProcessManager stability by @dmatej in #25538
- Improved timeout management for admin commands by @dmatej in #25580
- Support
<module-name>/<bean-name>syntax by @pzygielo in #25573 - Support
<module-name>/<bean-name>syntax in@DependsOnby @avpinchuk in #25586 - Shorter certificate DN: GlassFish, Eclipse Foundation, no address by @dmatej in #25560
Security Fixes
- Revisited security.policy files and added to embedded by @dmatej in #25564
- The java.security.auth.login.config system property must be an URL by @dmatej in #25566
- Load
GlassFishRoleMapperbefore installing the system-wide Exousia policy by @avpinchuk in #25644
Other Fixes
- Fixed appclient classpath by @dmatej in #25667
- Fixed race condition in LoggingOutputStream by @dmatej in #25470
- Fix 25444 Fix possible nullpointer. Fix avoid begin() new transaction call in case of rollback. by @escay in #25477
- Fixed log messages - throwable is not a parameter by @dmatej in #25488
- Ensure build CDI extensions are always returned from DeploymentImpl by @OndroMih in #25491
- Fixed checking of free ports on create-domain with --checkports=false by @dmatej in #25497
- TemplateInfoHolder - do not hide the cause of the problem! by @dmatej in #25496
- Fixed logs in JWS appclient by @dmatej in #25508
- Fix FQCN of ProxyHandlerImpl by @pzygielo in #25524
- Reproducing and fixing the gjule test instability by @dmatej in #25544
- Fixed another race condition in ProcessManager by @dmatej in #25547
- Fix #25549 Non-GMS Cluster fails to start after GMS Cluster is started by @kaido207 in #25550
- DomainBuilder must not swallow failures by @dmatej in #25558
- Excluded module-info.class files poisoning embedded packages by @dmatej in #25559
- Fixed bug of 2011 - hostname was resolved as path by @dmatej in #25565
- Fixed race conditions in detached job management by @dmatej in #25574
- Fixed race condition in detached job scheduling by @dmatej in #25592
- Fixes scattered web archive processing by @avpinchuk in #25581
- Fix cleanup on deployment error by @OndroMih in #25596
- Fix #25584 The message which is "resource not found" is outputed when sending a javamail by @kaido207 in #25585
- Fix #25588 RemoveCount is not incremented when @Remove-annotated method is called by @tnagao7 in #25589
- Fixed detached commands mistake + Jenkinsfile changes by @dmatej in #25609
- Fix variable assignment for GlassFish instance in EmbeddedVirtualServ… by @HamzaElzarw-2022 in #25610
- Fixes
WebappClassLoaderrace condition ondefinePackageby @avpinchuk in #25619 - Fix #25617 Monitoring data become unavailable after updating configuration by @tnagao7 in #25618
- Fixes processing of the detached admin commands by @avpinchuk in #25669
- Fix #25689 HTTP status 404 in the admin console help window by @tnagao7 in #25690
- Fix leak in the events listener storage by @arjantijms in #25693
- Fixed asadmin get -m for monitoring by @dmatej in #25699
- Refactoring and fixing JDBC pools + tests by @dmatej in #25702
- Fix MicroProfile Config in Embedded - add transitive dependencies by @OndroMih in #25708
- Fix #25715 Enabling monitoring for JDBC connection pools unexpectedly enables monitoring for non-JDBC connection pools by @tnagao7 in #25716
- Add missing EE 10 schemas: JSP & Faces by @OndroMih in #25532
- Several smaller fixes and improvements by @dmatej in #25577
Maintenance
- Updated Arquillian GF Container - fixes OOME in CDI and Validation TCK by @dmatej in #25687
- Fixed TestNG version compatible with these TCKs by @dmatej in #25704
- Stabilizing ClusterITest and EjbClassGeneratorFactoryBenchmarkTest by @dmatej in #25484
- Fixed Microprofile Health TCK by @dmatej in #25636
- Fixes
update-node-sshpage links in documentation by @avpinchuk in #25665 - Issue 24900 Documentation improvements. Some ConnectionPool changes. Removal of selfmanaged option. by @escay in #25527
- New SystemProperties logging global changes by @dmatej in #25569
- New ResourceAttributes class to have type safe attributes + related cleanup by @dmatej in #25700
- Decrease log level of logs in command execution by @OndroMih in #25688
- Fix for Security TCK - default SSLContextProvider by @dmatej in #25662
- Addded TCK security and updated arquillian glassfish container by @dmatej in #25663
- Next version is 7.1.0 by @arjantijms in #25474
- Migrate away from deprecated DerbyDB classes to replacements by @pzygielo in #25473
- Remove unused parameter by @pzygielo in #25486
- The asadmin verify-domain-xml command does not need Globals on classpath by @dmatej in #25495
- SshClusterITest - added --interactive=false by @dmatej in #25507
- Add maven coordinates links to download pages by @OndroMih in #25504
- Add instructions in README on how to find the built artifacts by @OndroMih in #25502
- Refactoring of usages of system and environment constants by @dmatej in #25509
- Updated documentation of the known issue with Windows signals by @dmatej in #25515
- Synchronize annotation in message by @pzygielo in #25534
- Jakarta EE 11 Platform TCK results for GlassFish 8 M12 by @arjantijms in #25536
- Removed maven download from GitHub CI - 24.04 already contains that by @dmatej in #25542
- Improve --add-opens - naming module by @dmatej in #25537
- Several corrections to the Jakarta EE 11 result page by @arjantijms in #25543
- Do not declare
Main-Classes by @pzygielo in #25554 - DetachAttachITest - removed sleep by @dmatej in #25556
- Refactored SecureWebAppTest by @dmatej in #25561
- Group of cleanup commits and improvements by @dmatej in #25562
- Added keeping server.logs from tests on GH CI + synced files by @dmatej in #25579
- Removed osgiversion-maven-plugin and updated deploy plugin config by @dmatej in #25591
- Update NOTICE.md with Grizzly and SBOM info by @OndroMih in #25595
- Updated MAVEN_OPTS in Jenkinsfile + updated asciidoc maven plugin by @dmatej in #25599
- Build changes by @dmatej in #25604
- Do not swallow InterruptedException by @pzygielo in #25605
- Added info for Jakarta 10 and 11 on the compatibility web page by @Ariho-Seth in #25606
- Drop unused method parameter by @pzygielo in #25621
- Do not produce result as it's not used anyway by @pzygielo in #25620
- Remove unused classes by @pzygielo in #25630
- Remove unused method by @pzygielo in #25632
- Remove unused field KeystoreManager.LOG by @pzygielo in #25634
- Remove unused parameter config in copyCertificatesToTrustStore method by @pzygielo in #25635
- Remove unused duplicate class AppserverServiceType by @avpinchuk in #25633
- Replaced references to release version with a variable by @Ariho-Seth in #25643
- Updated the installation guide by replacing obsolete info with GF7 info by @Ariho-Seth in #25641
- Updated the release notes in GlassFish 7 guide by @Ariho-Seth in #25648
- Supply parameter to logged message by @pzygielo in #25651
- Upload PDFs built in workflow by @pzygielo in #25653
- GlassFish release notes updated (new features, MicroProfile, extensions) by @OndroMih in #25652
- Display GitHub workflow names in pull requests by @OndroMih in #25654
- Remove Solaris service installer by @avpinchuk in #25658
- Removed references to the Update Tool in docs by @Ariho-Seth in #25655
- Remove all Distributed Component Object Model (DCOM) references by @avpinchuk in #25664
- Fixes GitHub workflow build name for Ubuntu by @avpinchuk in #25671
- Remove empty
mainmethod by @pzygielo in #25675 - Updated the GlassFish Upgrade guide by @Ariho-Seth in #25661
- Update MicroProfile info in the website for the latest release by @OndroMih in #25686
- Unmake gf-client runnable JAR by @pzygielo in #25698
- Simplify and refactor the GlassFish upgrade guide by @OndroMih in #25680
Component Upgrades
- Bump actions/stale from v3 to v9 by @pzygielo in #25526
- Bump org.apache.commons:commons-lang3 from 3.13.0 to 3.18.0 in /appserver/tests/tck/microprofile/rest-client by @dependabot[bot] in #25600
- Updated commons-lang3 version by @dmatej in #25623
- Update Nimbus to 10.4.2 by @arjantijms in #25674
- Integrate Jersey 3.1.11 by @pzygielo in #25679
- Upgrade command-security-maven-plugin to support build on Java 25 by @OndroMih in #25707
- Upgrade easymock to run tests on Java 25 by @OndroMih in #25710