Discussion Template and File Upload Control

Love the new discussion template! I want to implement but there is a show stopper. Currently there is a file upload limit set.

The Error (Server Console) - HTTP JVM Warning File:BlahBlah of size 1048576 exceeds the max file upload size of 1106390.

I have checked the value in the Internet site doc Domino Web Engine tab Maximum POST data and the setting has not changed set to 25000.

It appears as if the validation is dome via the JVM? Anybody know what setting this is?

I have also poked around in Designer (Discussion Forum Template) in the custom controls added to the XPage to see if validation is set but I don’t see anything. Being new to Xpages I am a little clueless as to where to look.

Any help is appreciated.

Thanks in advance,

Elijah

Subject: you can set the max upload size in the template

in the application properties, xpages tab. It defaults to whatever is set on the server (which can also be tweaked, but others know better than I do where). But if you want to change it in just one discussion db, enter it in the individual nsf’s properties; or if you want all of your discussion dbs to allow a higher value, change the template. If the screenshot comes through, here is where you can set it, in File Upload Options.

Subject: Property set, but no effect

I have the same problem like Rob Kordisch.I set the property to 16000 and ensured it is set in the xsp.properties file.

But there is no effect - I still cannot upload any files larger than 1024 kB.

My Server is domino 8.5 FP1

Kind regards David

Subject: Done, bute server wide

I’ve managed to do it.

But only by setting it server wide.

Patch file

C:\Programme\IBM\Lotus\Domino\xsp\nsf\xsp.properties

Finally I think it is another bug in the file upload control

Kind regards David

Subject: Thanks makes a lot of sense!

Appreciate your taking the time. Great product great work! These Xpages just get better and better the deeper I get into them.

Elijah

Subject: Just to learn something: What was the setting for you at this place - empty or a number?

Subject: Sorry for the late reply

It was set to about 1Mb.

Subject: File Upload Options/Max Size on Xpage

Hi Maureen,I have a similar problem with a custom app I am writing. I changed the application properties/file upload options/max size parameter to 15360 (KB) (15meg). When I upload a 10 meg file I get the following error:

05/17/2009 11:13:02 AM HTTP JVM: WARNING: CLFAD####W: File dxc__hs2185309.tif of size: 1,048,576 exceeds the max file upload size of 10,482,652. ClientId: view:_id1:_id10:_id19:attrepeat:1:fileUpload2

I cleaned the project and restarted the server and still get the same error.

Also, the verbiage of the error seems to be reversed (file size vs max file upload size). Shouldn’t the error read:

05/17/2009 11:13:02 AM HTTP JVM: WARNING: CLFAD####W: File dxc__hs2185309.tif of size: 10,482,652 exceeds the max file upload size of 1,048,576 . ClientId: view:_id1:_id10:_id19:attrepeat:1:fileUpload2

Any help/assistance would be appreciated!

Thanks,

Rob