Skip to content

Backport upgrade to Tomcat 10 / Jakarta migration#1259

Open
jacopoc wants to merge 6 commits into
apache:release24.09from
jacopoc:backport-upgrade-to-tomcat-10
Open

Backport upgrade to Tomcat 10 / Jakarta migration#1259
jacopoc wants to merge 6 commits into
apache:release24.09from
jacopoc:backport-upgrade-to-tomcat-10

Conversation

@jacopoc
Copy link
Copy Markdown
Contributor

@jacopoc jacopoc commented May 24, 2026

release24.09 is an LTS branch based on Java 17.

  • Tomcat 9 will stop receiving security fixes after March 2027 (https://tomcat.apache.org/tomcat-9.0.x-eos.html). After that date, an LTS branch still tied to Tomcat 9 would no longer be able to receive Tomcat CVE updates.

  • More third-party libraries are moving away from javax.. Staying on the old namespace will increasingly make dependency and security updates harder. For example, we currently cannot merge Dependabot PR Bump org.mustangproject:library from 2.8.0 to 2.23.0 #1132 because newer dependency versions already require jakarta..

Backporting to the release24.09 branch the Tomcat 10 / Jakarta migration (including the Apache CXF upgrade), could help keep the LTS branch maintainable and secure for a longer period.

Main pull requested backported are PR #875 and PR #908

This pull request is complemented by pull request apache/ofbiz-plugins#260 for the plugins

cgaetan and others added 6 commits May 23, 2026 09:37
  * Updates tomcat catalina and jasper version from 9.0.102 to 10.1.34
  * Changes the Juel library from odyseeus to activiti implementation (up to date)
  * Migrates javax to jakarta in java classes
  * Migrates file upload to jakarta version
  * Creation of a small utility method to handle uploads un UtilHttp

Thanks to Gaëtan Chaboussie for this work

(cherry picked from commit 64e5e6d)
…pache#908)

Improved: Upgraded Apache CXF from 3.6.4 to 4.1.3 to support Jakarta
namespace

(OFBIZ-13286)

(cherry picked from commit 6fd8354)
…in OFBizRealm

GenericPrincipal(String,String,List) is deprecated in Tomcat 9; the replacement constructor exists only in Tomcat 10.1+

(cherry picked from commit 8b54046)
…gs in NodeELResolver

(cherry picked from commit 30665b9)
… and setComment methods (OFBIZ-13189)

(cherry picked from commit bfe2854)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants