jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: Slow performance on parsing stream
Date Mon, 02 Sep 2013 13:37:33 GMT
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

Mime
View raw message