APAR status
Closed as program error.
Error description
When using the Ajax Proxy to upload large files, the system fails with an OutOfMemoryError occurring in the HttpClient that is used by the Ajax Proxy: SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: ProxyServlet. Exception thrown : java.lang.OutOfMemoryError at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream .java:116) at org.apache.commons.httpclient.methods .InputStreamRequestEntity.bufferContent(InputStreamRequestEntity .java:136) at org.apache.commons.httpclient.methods .InputStreamRequestEntity.getContentLength(InputStreamRequestEnt ity.java:186) at org.apache.commons.httpclient.methods.EntityEnclosingMethod .getRequestContentLength(EntityEnclosingMethod.java:332) at org.apache.commons.httpclient.methods.EntityEnclosingMethod .writeRequestBody(EntityEnclosingMethod.java:480) at org.apache.commons.httpclient.HttpMethodBase .writeRequest(HttpMethodBase.java:1973) [...] at com.ibm.mm.proxy.servlet.AjaxProxyServlet .service(AjaxProxyServlet.java:205)
Local fix
Problem summary
When using the Ajax Proxy to upload large files, the system fails with an OutOfMemoryError occurring in the HttpClient that is used by the Ajax Proxy: SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: ProxyServlet. Exception thrown : java.lang.OutOfMemoryError at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:1 16) at org.apache.commons.httpclient.methods.InputStreamRequestEntity.b ufferContent(InputStreamRequestEntity.java:136) at org.apache.commons.httpclient.methods.InputStreamRequestEntity.g etContentLength(InputStreamRequestEntity.java:186) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.getR equestContentLength(EntityEnclosingMethod.java:332) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writ eRequestBody(EntityEnclosingMethod.java:480) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMe thodBase.java:1973) [...] at com.ibm.mm.proxy.servlet.AjaxProxyServlet.service(AjaxProxyServl et.java:205)
Problem conclusion
This APAR ensures sure that files that are being uploaded are directly streamed to the target server instead of temporarily storing the file on the portal server (the Apache HttpClient API which has been used relies on storing the files temporarily). It is recommended to clear the extension registry cache after installing this APAR. Delete the contents of the /wp_profile/temp/.../WebSphere_Portal/_extensionregistry directory to achieve that. Failing Module(s): Engine: URL Generation Affected Users: All users Version Information: Portal Version(s): 6.1.0.3 Pre-Requisite(s): --- Co-Requisite(s): --- Manuel Steps: Please run the following task: <wp_profile>/ConfigEngine/ConfigEngine.[bat|sh] apply-PM08771 Platform Specific: This fix applies to all platforms. PM08771 is part of Cumulative Fix 02 for Portal 6103. The Cumulative Fix is available from Fix Central: http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde r?apar=PM07968&productid=WebSphere%20Portal&brandid=5 You may need to type or paste the complete address into your Web browser.
Temporary fix
Comments
APAR Information
APAR number
PM08771
Reported component name
WEBSPHERE PORTA
Reported component ID
5724E7600
Reported release
615
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-03-02
Closed date
2010-03-18
Last modified date
2010-04-20
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBSPHERE PORTA
Fixed component ID
5724E7600
Applicable component levels
R61C PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.5","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]
Document Information
Modified date:
21 December 2021