[GEODE-10518] 2.0 RELEASE BLOCKER : Update documentation for Jakarta EE 10 and Java 17 #7953
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates Apache Geode documentation to reflect Jakarta EE 10 compatibility and Java 17 requirements for version 2.0.
Motivation
Apache Geode 2.0 introduces breaking changes due to:
javax.*) to Jakarta EE 10 (jakarta.*)The documentation needs to be updated to reflect these changes and provide clear migration guidance for users.
Changes
1. Java Version Format Update
Problem: Documentation used Java 8 version format (
1.8.0_121) which is incompatible with Java 17 versioning (17.0.16).Solution: Updated all documentation to use Java 17 version format.
Template Variables Updated
File:
geode-book/config.ymlThis produces the version string:
17.0.16Template Expression Updates
1.<%=vars.min_java_version%>.0_<%=vars.min_java_update%>→ produces1.17.0_121<%=vars.min_java_version%>.0.<%=vars.min_java_update%>→ produces17.0.16Files Modified (20+ occurrences)
configuring/cluster_config/persisting_configurations.html.md.erb(7 occurrences)getting_started/15_minute_quickstart_gfsh.html.md.erb(2 occurrences)getting_started/installation/install_standalone.html.md.erb(4 occurrences)managing/management/jmx_manager_operations.html.md.erb(1 occurrence)configuring/running/running_the_locator.html.md.erb(1 occurrence)configuring/running/running_the_cacheserver.html.md.erb(1 occurrence)tools_modules/http_session_mgmt/tc_additional_info.html.md.erb(1 occurrence)tools_modules/http_session_mgmt/tc_setting_up_the_module.html.md.erb(1 occurrence)tools_modules/gfsh/tour_of_gfsh.html.md.erb(3 occurrences)tools_modules/http_session_mgmt/weblogic_setting_up_the_module.html.md.erb(1 occurrence)Examples of changes:
Java Version: 17.0.16(was1.8.0_121)/usr/java/jdk-17.0.16(was/usr/java/jdk1.8.0_121)17.0.16(was1.8.0_121)2. JAR Version Updates
Problem: Documentation referenced Geode 1.0.0 JAR files which are outdated for version 2.0.
Solution: Updated all JAR version references from
1.0.0to2.0.0.Files Modified (4 occurrences)
getting_started/15_minute_quickstart_gfsh.html.md.erbgeode-core-1.0.0.jar→geode-core-2.0.0.jar(2 occurrences)tools_modules/http_session_mgmt/tc_setting_up_the_module.html.md.erbgeode-modules-1.0.0.jar→geode-modules-2.0.0.jargeode-modules-tomcat8-1.0.0.jar→geode-modules-tomcat8-2.0.0.jar3. WebLogic HTTP Session Management Documentation
File:
tools_modules/http_session_mgmt/weblogic_setting_up_the_module.html.md.erbProblem: Manifest Class-Path and startup examples contained incorrect JAR versions and outdated Java EE dependencies.
Solution: Updated to Jakarta EE 10 dependencies and Geode 2.0 module versions.
Key Dependency Changes
Documentation Build Verification
Impact Assessment
Documentation Impact
User Impact
javax.*) applications must migrate to Jakarta EE 10 (jakarta.*)Compatibility
Files Modified
Related Issues
doc2.0branchFor all changes, please confirm:
develop)?gradlew buildrun cleanly?