-
1. Re: Rich Faces file upload failed with runtime error in Websphere server environment
michpetrov Jan 13, 2016 5:15 AM (in response to ramuavusali)Looks like you need to change your settings. (Look for SRVE8020E, I can't link directly to the item)
-
2. Re: Rich Faces file upload failed with runtime error in Websphere server environment
ramuavusali Jan 21, 2016 6:07 AM (in response to michpetrov)Hi Michal,
Thank you for your response.
We are using Rich Faces File upload component, so how do we configure those settings?
If we have used our own servlet, then we will be doing those settings to our defined servlet via java or web.xml, but how do we do the same when used with Rich Faces File Upload component?
The normal HTML File upload works fine on the same websphere environment, but when we are using Rich Faces File Upload [rich:fileUpload], then it fails with that error [SRVE8020E].
Can you please help us out in resolving this issue?
I have even tried by adding the multipart-config to the faces servlet, it didn't work out.
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
<multipart-config>
<location>/tmp</location>
<max-file-size>20848820</max-file-size>
<max-request-size>418018841</max-request-size>
<file-size-threshold>1048576</file-size-threshold>
</multipart-config>
</servlet>
Thanks & Regards,
Ramu A.
-
3. Re: Rich Faces file upload failed with runtime error in Websphere server environment
michpetrov Jan 21, 2016 8:09 AM (in response to ramuavusali)Normal fileupload works differently, I'm not sure it's even handled by the faces servlet, try h:inputFile but I expect that will fail as well. In any case this is a problem with the server settings, not with RichFaces and there's not much I can do since I can't test it myself.
-
4. Re: Rich Faces file upload failed with runtime error in Websphere server environment
vprivat Feb 9, 2017 3:52 PM (in response to ramuavusali)Did you solve the problem in the meantime?