You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Yossie (JIRA)" <no...@atlassian.com> on 2007/12/11 11:00:33 UTC
[Roller-JIRA] Created: (ROL-1631) Upload size error more than
2097152 bytes
Upload size error more than 2097152 bytes
-----------------------------------------
Key: ROL-1631
URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1631
Project: Roller
Issue Type: Bug
Affects Versions: 4.0
Environment: Tomcat 6.0.14, Solaris10 x86
Reporter: Yossie
Assignee: Roller Unassigned
When I upload files more than 2097152 bytes in Roller 4.0, the following error occurs.
-----------------------------------------------------------------------
the request was rejected because its size (6020499) exceeds the
configured maximum (2097152)
-----------------------------------------------------------------------
My "File Upload Settings" is
Max File Size (MB): 64
Max Directory Size (MB): 1024
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (ROL-1631) Upload size error more than 2097152
bytes
Posted by "David Johnson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/roller/browse/ROL-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14464#action_14464 ]
David Johnson commented on ROL-1631:
------------------------------------
I think the fix is to setup Struts to accept up to 1GB, but keep the Roller limit at 1MB
# If you want to allow uploads over 1 billion bytes, then set this higher:
struts.multipart.maxSize=1000000000
> Upload size error more than 2097152 bytes
> -----------------------------------------
>
> Key: ROL-1631
> URL: https://issues.apache.org/roller/browse/ROL-1631
> Project: Roller
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: Tomcat 6.0.14, Solaris10 x86
> Reporter: Yossie
> Assignee: David Johnson
>
> When I upload files more than 2097152 bytes in Roller 4.0, the following error occurs.
> -----------------------------------------------------------------------
> the request was rejected because its size (6020499) exceeds the
> configured maximum (2097152)
> -----------------------------------------------------------------------
> My "File Upload Settings" is
> Max File Size (MB): 64
> Max Directory Size (MB): 1024
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (ROL-1631) Upload size error more than 2097152
bytes
Posted by "David Johnson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/roller/browse/ROL-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Johnson reassigned ROL-1631:
----------------------------------
Assignee: David Johnson (was: Roller Unassigned)
> Upload size error more than 2097152 bytes
> -----------------------------------------
>
> Key: ROL-1631
> URL: https://issues.apache.org/roller/browse/ROL-1631
> Project: Roller
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: Tomcat 6.0.14, Solaris10 x86
> Reporter: Yossie
> Assignee: David Johnson
>
> When I upload files more than 2097152 bytes in Roller 4.0, the following error occurs.
> -----------------------------------------------------------------------
> the request was rejected because its size (6020499) exceeds the
> configured maximum (2097152)
> -----------------------------------------------------------------------
> My "File Upload Settings" is
> Max File Size (MB): 64
> Max Directory Size (MB): 1024
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (ROL-1631) Upload size error more than 2097152
bytes
Posted by "David Johnson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/roller/browse/ROL-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on ROL-1631 started by David Johnson.
> Upload size error more than 2097152 bytes
> -----------------------------------------
>
> Key: ROL-1631
> URL: https://issues.apache.org/roller/browse/ROL-1631
> Project: Roller
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: Tomcat 6.0.14, Solaris10 x86
> Reporter: Yossie
> Assignee: David Johnson
>
> When I upload files more than 2097152 bytes in Roller 4.0, the following error occurs.
> -----------------------------------------------------------------------
> the request was rejected because its size (6020499) exceeds the
> configured maximum (2097152)
> -----------------------------------------------------------------------
> My "File Upload Settings" is
> Max File Size (MB): 64
> Max Directory Size (MB): 1024
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[Roller-JIRA] Commented: (ROL-1631) Upload size error more than
2097152 bytes
Posted by "Yegor Kozlov (JIRA)" <no...@atlassian.com>.
[ http://opensource.atlassian.com/projects/roller/browse/ROL-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_14207 ]
Yegor Kozlov commented on ROL-1631:
-----------------------------------
I got the same problem. Looks like the uploads.file.maxsize property conflicts with struts.multipart.maxSize.
Depending on the file size, roller and struts properties I'm getting two different messages:
(1) if uploads.file.maxsize < file.size < struts.multipart.maxSize
you get a normal Roller message "Upload failed for test-file.zip"
(2) if file.size > struts.multipart.maxSize you always get "The request was rejected because its size exceeds the
configured maximum (struts.multipart.maxSize)".
As I understand the latter exception is thrown by Struts. It seems to be a bug because the Roller settings should overwrite Struts.
A workaround is to edit struts.properties and add the following line:
struts.multipart.maxSize=max_size_in_bytes
It works, but it is not what users expect.
Regards,
Yegor
> Upload size error more than 2097152 bytes
> -----------------------------------------
>
> Key: ROL-1631
> URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1631
> Project: Roller
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: Tomcat 6.0.14, Solaris10 x86
> Reporter: Yossie
> Assignee: Roller Unassigned
>
> When I upload files more than 2097152 bytes in Roller 4.0, the following error occurs.
> -----------------------------------------------------------------------
> the request was rejected because its size (6020499) exceeds the
> configured maximum (2097152)
> -----------------------------------------------------------------------
> My "File Upload Settings" is
> Max File Size (MB): 64
> Max Directory Size (MB): 1024
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (ROL-1631) Upload size error more than 2097152
bytes
Posted by "David Johnson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/roller/browse/ROL-1631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14473#action_14473 ]
David Johnson commented on ROL-1631:
------------------------------------
Fixed in Roller trunk
http://svn.apache.org/viewvc?rev=724140&view=rev
See also, fixes to file upload error handling:
http://svn.apache.org/viewvc?rev=724139&view=rev
I plan to apply these changes to 4.0 as well, so leaving as UNRESOLVED
> Upload size error more than 2097152 bytes
> -----------------------------------------
>
> Key: ROL-1631
> URL: https://issues.apache.org/roller/browse/ROL-1631
> Project: Roller
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: Tomcat 6.0.14, Solaris10 x86
> Reporter: Yossie
> Assignee: David Johnson
>
> When I upload files more than 2097152 bytes in Roller 4.0, the following error occurs.
> -----------------------------------------------------------------------
> the request was rejected because its size (6020499) exceeds the
> configured maximum (2097152)
> -----------------------------------------------------------------------
> My "File Upload Settings" is
> Max File Size (MB): 64
> Max Directory Size (MB): 1024
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.