IBM Support

WEBDav PROPFIND method fails with HTTP 500 Internal Server Error when AcceptAllContent=false

Troubleshooting


Problem

WEBDav PROPFIND method fails with HTTP 500 Internal Server Error unless the AcceptAllContent property is set to true in the plugin-cfg.xml file. The AcceptAllContent Web server plug-in configuration property has a default setting of false. Unless set to true, content is expected and read only for POST and PUT requests. Because the WEBDav PROPFIND method supplies content and sets content-length in the HTTP header, it requires the AcceptAllContent property to be set to true.

Symptom

Web server http_plugin.log with trace enabled, will show requests that return from the IBM® WebSphere® Application Server with HTTP 500 RC:

[Tue May 13 13:32:28 2008] 00007b6c b640abb0 - DETAIL: HTTP/1.1 500 Internal Server Error

SystemOut.log from WebSphere Application Server will show the following:
[5/13/08 13:32:28:373 EDT] 00000029 WebApp E [Servlet Error]-[webdav]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Internal Server Error: Socket operation timed out before it could be completed

If trace is enabled, the trace.log shows:
[3/12/08 13:57:51:057 CET] 0000002b HttpServiceCo 3 Got CL size 345
[3/12/08 13:57:51:057 CET] 0000002b HttpServiceCo 3 fillABuffer(i,b)
345 false
[3/12/08 13:57:51:057 CET] 0000002b HttpServiceCo 3 Filling buffer
PooledWsByteBufferImpl: ID: 33 java.nio.DirectByteBuffer[pos=553
lim=8192 cap=8192] Owner Count: 1 From pool: WSByteBufferPool:
com.ibm.ws.buffermgmt.impl.WsByteBufferPool@741c741c buffer size: 8192
with amount 345
[3/12/08 13:58:51:069 CET] 0000002b HttpServiceCo 3 IOException,
closing the reads: java.net.SocketTimeoutException: Async operation
timed out

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Plug-in","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":null,"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
03 March 2025

UID

swg21305363