You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/10/25 11:09:00 UTC
[jira] [Closed] (OFBIZ-13728) Upgrade Apache Axis2 to 2.0.1
[ https://issues.apache.org/jira/browse/OFBIZ-13728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mridul Pathak closed OFBIZ-13728.
---------------------------------
Fix Version/s: Upcoming Branch
Resolution: Fixed
> Upgrade Apache Axis2 to 2.0.1
> -----------------------------
>
> Key: OFBIZ-13728
> URL: https://issues.apache.org/jira/browse/OFBIZ-13728
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Upcoming Branch
> Reporter: Mridul Pathak
> Assignee: Mridul Pathak
> Priority: Major
> Fix For: Upcoming Branch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Axis2 2.0.x moves to Jakarta EE (jakarta.servlet, jakarta.transaction), Axiom 2.0 and HttpClient 5, which matches trunk after the Tomcat 11 / Jakarta EE 11 upgrade (OFBIZ-13727). Dependabot PR #2404 bumps the version only, and the build fails.
> Needed changes:
> * {{framework/rest-api}} still references {{javax.ws.rs.core}} ({{RestServiceUtil}}, {{OpenApiUtil}}, {{OFBizOpenApiReader}}); it only compiles because Axis2 1.8.2 brings {{jsr311-api}} transitively. Switch to {{jakarta.ws.rs.core}}.
> * Axis2 2.0.1 depends on {{commons-fileupload2}} 2.0.0-M5 ({{-jakarta-servlet6}}), while OFBiz uses {{commons-fileupload2-jakarta}} 2.0.0-M1. Move OFBiz to {{commons-fileupload2-jakarta-servlet6}} 2.0.0-M5 (package rename, {{setMaxSize}}, checked {{IOException}} on {{FileItem}}), including the pricat plugin.
> * {{framework/service/config/axis2/conf/axis2.xml}} refers to classes removed in 2.0: the HttpClient 4 transport sender and the {{org.apache.axis2.transport.http}} message formatters. Use {{HTTPClient5TransportSender}} and {{org.apache.axis2.kernel.http}}, and drop the clustering section (clustering was removed in 2.0.1).
> Trunk only. Java 17 baseline is unchanged (Axis2 2.0.1 targets Java 17).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)