Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-09-09 Thread andre.j

Hello,

I still have this problem too. I have changed the value of this property
with no change. I´m using Tomcat with MySQL. Is there still a fix or
solution for that ?

Greetings
André 
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p5513514.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-09-09 Thread Caleb James DeLisle
How large of an attachment are you trying to upload?
I changed that value in /bin/edit/XWiki/XWikiPreferences?editor=object

That same message can also be shown if there is not enough memory
available so changing -Xmx might also help.

Caleb

andre.j wrote:
 Hello,
 
 I still have this problem too. I have changed the value of this property
 with no change. I´m using Tomcat with MySQL. Is there still a fix or
 solution for that ?
 
 Greetings
 André 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-09-09 Thread andre.j

Hello,

thanks for the fast answer. Our users would upload a 50MB .pdf file. So I
changed the value and nothing happens. I just added the JAVA_OPTS variable
with -Xmx300m and the problem is still alive.

I have updated my xwiki system to version 2.4 and now there is no
upload_maxsize variable. Is this right ?!

Thanks
André
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p5513595.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-09-09 Thread Caleb James DeLisle
I have never been able to upload a file larger than 30MB. The
problem is the file is saved as a base64 string for RCS version
storage which consumes a large amount of memory.

Caleb


andre.j wrote:
 Hello,
 
 thanks for the fast answer. Our users would upload a 50MB .pdf file. So I
 changed the value and nothing happens. I just added the JAVA_OPTS variable
 with -Xmx300m and the problem is still alive.
 
 I have updated my xwiki system to version 2.4 and now there is no
 upload_maxsize variable. Is this right ?!
 
 Thanks
 André

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-09-09 Thread andre.j

I have checked this an yes I only can upload files lower than 30MB.

Shit :-)
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p5513740.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Vincent Gerris

According to a post i read, the number is in bytes.
So for 200 mb, you would need to add 00 so 2.

Does that work for you?
Because I did set the value on that, but still get:
XWiki heeft standaard een limiet van ongeveer 10Mb voor ingeschrevenen
bestanden. Deze limiet kan worden gewijzigd met de upload_maxsize parameter.
Check de FAQ voor meer informatie.

(which says there is a 10mb linit in Dutch).
Did anyone get this working?
-- 
View this message in context: 
http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591611.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread hel-o

Hi,

yes it works. 

200 MB would be 209715200 Byte (according to 
http://webdeveloper.earthweb.com/repository/javascripts/2001/04/41291/byteconverter.htm
The Byte Converter  ;-) )

I never tried to increase the max upload size to 200MB but 40MB worked.

hel.

-
semantic-web.hel.at
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591708.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Caleb James DeLisle
Hi Vincent,

I was able to attach 30mb files by editing the parameter but I seem to remember
I had to reset the wiki engine for it to take effect.

I remember a 500 error message unless I passed a parameter to Jetty when 
starting
-Dorg.mortbay.jetty.Request.maxFormContentSize=999
Also if you use Mysql, you will have to change the maximum packet size, 
something
I don't know anything about because I don't use Mysql.
I also remember running into other limitations around 30mb.
Of course these errors look much different than what you are seeing,
just letting you know what to expect.

Thanks,

Caleb James DeLisle



Vincent Gerris wrote:
 According to a post i read, the number is in bytes.
 So for 200 mb, you would need to add 00 so 2.
 
 Does that work for you?
 Because I did set the value on that, but still get:
 XWiki heeft standaard een limiet van ongeveer 10Mb voor ingeschrevenen
 bestanden. Deze limiet kan worden gewijzigd met de upload_maxsize parameter.
 Check de FAQ voor meer informatie.
 
 (which says there is a 10mb linit in Dutch).
 Did anyone get this working?

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Vincent Gerris

Thanks for your quick reply.
For me 1 did not work (nor 2).
I am trying to import a 75,4 MB import with no luck.

So I go to:
http://localhost:/ictwiki/bin/admin/XWiki/XWikiPreferences
Then press change class, update the number with the value and still get that
dumb 10MB error.
I use Oracle XE as a database.
After a change to 9900 I still get that error.
So it seems like a bug too me.
I guess Iĺl make a post on Jira again :).



-- 
View this message in context: 
http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591774.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Guillaume Lerouge
Hi Vincent,

On Thu, Feb 18, 2010 at 2:40 PM, Vincent Gerris v.j.ger...@hhs.nl wrote:


 Thanks for your quick reply.
 For me 1 did not work (nor 2).
 I am trying to import a 75,4 MB import with no luck.


Right now we have an issue with how attachments are handled. IIRC you'll
need around attachmentSize*30 of RAM allocated to XWiki in order for the
attachment to upload fine.

You can try using this script if you can't allocate that much memory (it
will create a XAR on the filesystem):
http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippet

Guillaume


 So I go to:
 http://localhost:/ictwiki/bin/admin/XWiki/XWikiPreferences
 Then press change class, update the number with the value and still get
 that
 dumb 10MB error.
 I use Oracle XE as a database.
 After a change to 9900 I still get that error.
 So it seems like a bug too me.
 I guess Iĺl make a post on Jira again :).



 --
 View this message in context:
 http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4591774.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Vincent Gerris

hi Caleb James,

As my previous post shows, it does not work for me.
I use Oracle XE, I have encountered no 500 errors.
I do not know where to try that Jetty setting.

I also restarted the complete Xwiki instance by restarting Tomcat, do you
mean that by resetting the engine?

Well, I just see the post from Guillaume now.
The tomcat java only has 128MB now, so I will try to enlarge that and
otherwise use that codesnippet (if i figured out how).

-- 
View this message in context: 
http://n2.nabble.com/Changed-upload-maxsize-but-still-can-t-attach-larger-than-10-MB-tp2130422p4592052.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Caleb James DeLisle
Hello Vincent,

Yes, resetting tomcat is what I was talking about.
Jetty is an alternative to tomcat so you can disregard that advice.
If you are importing an XAR file I recommend the code snippet as I
have tried to do large imports for a while and I ended up writing a
custom XMLRPC importer.
I remember trying to import a large file not only was troublesome
uploading the attachment but doing the actual import took a long time and
was prone to failure.

Thanks,

Caleb James DeLisle


Vincent Gerris wrote:
 hi Caleb James,
 
 As my previous post shows, it does not work for me.
 I use Oracle XE, I have encountered no 500 errors.
 I do not know where to try that Jetty setting.
 
 I also restarted the complete Xwiki instance by restarting Tomcat, do you
 mean that by resetting the engine?
 
 Well, I just see the post from Guillaume now.
 The tomcat java only has 128MB now, so I will try to enlarge that and
 otherwise use that codesnippet (if i figured out how).
 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2009-01-10 Thread hel-o

Hi,

don't know if that could solve your problem but if you use a mysql database
you should change the max_allowed_packet size to:

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL

hel.


Samuel Lee wrote:
 
 Hello,
 I've gone to the XWikipreferences, then edit  Class.
 
 Here's what is set:
 name: upload_maxsize
 Pretty Name: Maximum Upload Size
 x No
 Number: 53
 Number Type: long
 Size: 200
 
 
 Error:  XWiki has a default limit of around 10Mb for attached files.  
 This limit can be changed using the upload_maxsize parameter. Check  
 the FAQ for more information.
 
 Any ideas?
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Changed-upload_maxsize-but-still-can%27t-attach-larger-than-10-MB-tp2130422p2137817.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2009-01-08 Thread Samuel Lee
Hello,
I've gone to the XWikipreferences, then edit  Class.

Here's what is set:
name: upload_maxsize
Pretty Name: Maximum Upload Size
x No
Number: 53
Number Type: long
Size: 200


Error:  XWiki has a default limit of around 10Mb for attached files.  
This limit can be changed using the upload_maxsize parameter. Check  
the FAQ for more information.

Any ideas?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users