On 2013-08-30 09:22, Thomas Saxtoft wrote:
In our current setup we are calling DavMethodBase.
getResponseException() and the call takes around 20 secs to terminate. I
have debugged the code and found the DomUtil.parseDocument makes a call
to a DocumentBuilder.parse() which is the one that takes that long to
execute. I have been playing around a little bit and found that when
creating the BUILDER_FACTORY, if I set namespaceAware to false (this is
the default) and also set the feature
http://apache.org/xml/features/nonvalidating/load-external-dtd to false
then the calls returns in ms.
Is this a possible bug, or should I be doing things differently?
...
Sounds like a potential bug.
Can you provide a dump of the response message that takes that long to
parse?
Best regards, Julian