Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1767

Avoid performance issue on SAXParserFactory retrieval

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.5.0.CR1, 4.0.0.Beta2
    • None
    • jaxrs
    • None

      Executing SAXParserFactory.newInstance() on WildFly results in few exceptions being thrown and caught to eventually figure out the proper SAXParserFactory for the current ThreadContext classloader; this badly affects performances of the RESTEasy JAXB provider.
      We could mitigate the issue by having a caching mechanism of SAXParserFactory instances in the org.jboss.resteasy.plugins.providers.jaxb.SecureUnmarshaller.

              rhn-support-asoldano Alessio Soldano
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: