Fórum

Liferay Crashes

vipul gupta, modificado 7 Anos atrás.

Liferay Crashes

New Member Mensagem: 1 Data de Entrada: 14/11/16 Postagens Recentes
Hi

My liferay server crashes when i try to upload a file of size greater than 6 MB through android app using liferay default services

am converting file into JSONObject to send it

Do anyone know how to overcome this so that atleast my system does not crashes
Any help will be appreciated emoticon
thumbnail
David H Nebinger, modificado 7 Anos atrás.

RE: Liferay Crashes

Liferay Legend Postagens: 14915 Data de Entrada: 02/09/06 Postagens Recentes
Likely the problem is not Liferay as much as it is your app server.

If you're not using multipart form upload, just one big json submit, the server needs to receive this as a request object before handing it off. This size of request object can kill a server, and most of the time they are set up to block this kind of thing.
vipul gupta, modificado 7 Anos atrás.

RE: Liferay Crashes

New Member Postagens: 4 Data de Entrada: 11/08/15 Postagens Recentes
Hi David

Can you please share the way to configure my liferay tomcat server to block such requests ??

Thanks
Vipul
Gautam Sharma, modificado 7 Anos atrás.

RE: Liferay Crashes

Junior Member Postagens: 92 Data de Entrada: 30/04/12 Postagens Recentes
Hi,

This is more server specific.
For tomcat you might want to take a look at this link

Thanks
Gautam
vipul gupta, modificado 7 Anos atrás.

RE: Liferay Crashes

New Member Postagens: 4 Data de Entrada: 11/08/15 Postagens Recentes
Thanks

But am not getting any tag inside web.xml like this

<multipart-config>
<!-- 52MB max -->
<max-file-size>52428800</max-file-size>
<max-request-size>52428800</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>


Regards
Vipul