Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8088369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:04:14+00:00 2026-06-05T19:04:14+00:00

We have inherited an application (Java-based, running on WebLogic 10.3.5) that makes extensive use

  • 0

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?

Thanks a bunch.

Update Similar behaviour can be observed for the com.sun.org.apache.xerces.internal.impl.dv.DTDDVFactory class – the ClassLoader reloads the class definition on every call to DTDDVFactory.newInstance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T19:04:16+00:00Added an answer on June 5, 2026 at 7:04 pm

    It seems not much can be done about that other than avoiding extensive use of these tags. We have refactored this code section:

    • XML parsing is now performed by a custom tag that uses JAXB to populate an object graph generated from a XSD, and
    • JSPs now use standard notation to consult the object graph

    Just shows that doing XML parsing in a JSP isn’t a particularly good idea…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have inherited development of a Java/SWT application running on Windows only. One of
I have inherited a Java application (servlets) that runs under Tomcat. For historical reasons,
I have a Java GUI-based application that writes some diagnostic messages to System.out and
I have inherited an application that logs the results of certain daily commands that
I have inherited an big existing PHP application (website actually) that runs on Apache.
I have a Web Application that I have inherited it contains a page that
Background: I have a Java application that many programming clients interface with. Recently, a
I have an application that is running Jaxb 2.1.12. I am running JDK 1.5
I have inherited an application that throws up 100 threads at the start. This
I have inherited a webforms application that was working and now is not. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.