1

P:file upload is not working properly, it freezes out, if I try to upload zip file. What could I do resolve this issue.But It works perfectly fine if file of less size are uploaded. I am using prime faces 3.5 and jsf2 and was8 server

shreekanth
  • 459
  • 2
  • 12
  • 27
  • Did you add filter to web.xml: **PrimeFaces FileUpload Filter**, ref: http://stackoverflow.com/questions/13471199/filedownload-and-fileupload-jsf-primefaces-not-working – Rong Nguyen May 02 '13 at 02:20
  • @RongNK: read the question once again. If the file upload filter wasn't registered, the OP would not be able to upload *any* file at all. This totally contradicts the statement *"But It works perfectly fine if file of less size are uploaded"*. – BalusC May 02 '13 at 02:23
  • What size of file for the "ok" upload and the "not ok" upload? – Alexandre Lavoie May 02 '13 at 02:28
  • @AlexandreLavoie: I have specified threshold parameter in web.xml 51200. I am able upload file up to 250kb document and more than that. same document in zip file uploaded is not working, file disappears on UI after uploading and on Websphere8 console I see this statement com.ibm.ws.webcontainer.filter.FilterInstanceWrapper destroy SRVE0248I: Requests are currently being processed. Waiting up to 60 seconds before forcing filter destroy. – shreekanth May 02 '13 at 02:59
  • I have the same problem fileupload works fine on all types except when trying to upload zip file. I am using advanced mode and upload listener is not being invoked when allowed file type is zip. – xiarnousx May 25 '16 at 10:01

0 Answers0