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
Cause
With the AcceptAllContent plug-in configuration property set to false (or defaulting to false), content is not expected for methods other than PUT or POST.
Resolving The Problem
Set AcceptAllContent to true in the Web server plug-in configuration (plugin-cfg.xml).
[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"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":"LOB45","label":"Automation"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
01 April 2020
UID
swg21305363