You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2008/04/01 17:46:24 UTC

[jira] Resolved: (WSCOMMONS-318) Attachments larger than Integer.MAX_VALUE (appr 2.1GB) fails

     [ https://issues.apache.org/jira/browse/WSCOMMONS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved WSCOMMONS-318.
--------------------------------------

    Resolution: Fixed

Fixed Revision=643457

> Attachments larger than Integer.MAX_VALUE (appr 2.1GB) fails
> ------------------------------------------------------------
>
>                 Key: WSCOMMONS-318
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-318
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>         Environment: AXIOM 1.2.5, WinXP, Java 5, Axis2 1.3, Tomcat 5.5.x, MTOM, caching to file using Axis2 attachmentDir
>            Reporter: Roy Willy Haug
>            Assignee: Rich Scheuerle
>
> 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org