On 2 May 2012 21:41, Guillaume Bilodeau <guillaume.bilod...@gmail.com> wrote:
>
> We have inherited an application (Java-based, running on WebLogic 10.3.5)
> that makes extensive use of JSTL XML tags, and particularly of XPath
> selectors. Quickly we have run into some performance problems due to the
> implementation of these tags and how the DTMManager class is first resolved
> then instantiated by the DTMManager.newInstance method.
>
> The DTMManager class name lookup issue has been previously documented and
> was solved by setting the com.sun.org.apache.xml.dtm.DTMManager system
> property.
>
> However, once the class name has been found, the
> com.sun.org.apache.xml.internal.dtm.ObjectFactory.findProviderClass method
> asks the (not null) class loader to load the class definition and it never
> caches the result! In a WebLogic environment, this operation is very
> expensive and eats a significant portion of our response times.
>
> Is there a reason why the class definition is never cached? And is there a
> way to avoid the class definition to be loaded every time?

Looks to me like you are using the version of Xalan bundled with Java.
You'll need to raise the issue with Oracle.

The ASF version uses package names starting with org.apache.

Reply via email to