Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
AXIOM 1.2.5, WinXP, Java 5, Axis2 1.3, Tomcat 5.5.x, MTOM, caching to file using Axis2 attachmentDir
Description
The org.apache.axiom.attachments.Part interface has a getSize() method that returns an int.
This means that no attachment can be larger than Integer.MAX_VALUE (appr 2.1GB).
The fix is straightforward:
I downloaded AXIOM 1.2.5 source and did the int-to-long change a few places and then successfully transferred attachments larger than Integer.MAX_VALUE.
Attachments
Issue Links
- is related to
-
AXIS2-3686 Attachments larger than Integer.MAX_VALUE (appr 2.1GB) fails
- Resolved