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 "Roy Willy Haug (JIRA)" <ji...@apache.org> on 2008/04/01 15:10:24 UTC

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

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


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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSCOMMONS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584152#action_12584152 ] 

Rich Scheuerle commented on WSCOMMONS-318:
------------------------------------------

I have made the change in my sandbox and I am currently testing.

If successful, I will commit this change in about an hour.

Thanks,
Rich

> 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ 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


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

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle reassigned WSCOMMONS-318:
----------------------------------------

    Assignee: Rich Scheuerle

> 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