IBM Support

PH15728: CDI NOT PROTECTING THE THREAD CONTEXT CLASSLOADER AND LOADING A WRONG VERSION OF XML PARSER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the application packages its own version of the XML parser
    within the application, the below error is generated during the
    application startup:
    
    javax.xml.parsers.FactoryConfigurationError: Provider
    javax.xml.parsers.DocumentBuilderFactory could not be
    instantiated: java.util.ServiceConfigurationError:
    javax.xml.parsers.DocumentBuilderFactory: Provider
    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not a subtype
    at javax.xml.parsers.DocumentBuilderFactory
       .newInstance(UnknownSource)
    at org.apache.webbeans.xml.XMLUtil
       .getSpecStrictRootElement(XMLUtil.java:166)
    at org.apache.webbeans.xml.WebBeansXMLConfigurator
       .configureSpecSpecific(WebBeansXMLConfigurator.java:270)
    at org.apache.webbeans.xml.WebBeansXMLConfigurator
       .configure(WebBeansXMLConfigurator.java:185)
    at org.apache.webbeans.config.BeansDeployer
       .deployFromXML(BeansDeployer.java:591)
    at org.apache.webbeans.config.BeansDeployer
        .deploy(BeansDeployer.java:162)
    at org.apache.webbeans.lifecycle.AbstractLifeCycle
        .startApplication(AbstractLifeCycle.java:124)
    at org.apache.webbeans.web.lifecycle.WebContainerLifecycle
        .startApplication(WebContainerLifecycle.java:77)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: When the application packages its own   *
    *                      version of the XML parser               *
    *                      within the application a                *
    *                      configuration error occurs              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the application packages its own version of the XML parser
    within the application, the below error is generated during the
    application startup:
    javax.xml.parsers.FactoryConfigurationError: Provider
    javax.xml.parsers.DocumentBuilderFactory could not be
    instantiated: java.util.ServiceConfigurationError:
    javax.xml.parsers.DocumentBuilderFactory: Provider
    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not a subtype
    at javax.xml.parsers.DocumentBuilderFactory
    .newInstance(UnknownSource)
    at org.apache.webbeans.xml.XMLUtil
    .getSpecStrictRootElement(XMLUtil.java:166)
    at org.apache.webbeans.xml.WebBeansXMLConfigurator
    .configureSpecSpecific(WebBeansXMLConfigurator.java:270)
    at org.apache.webbeans.xml.WebBeansXMLConfigurator
    .configure(WebBeansXMLConfigurator.java:185)
    at org.apache.webbeans.config.BeansDeployer
    .deployFromXML(BeansDeployer.java:591)
    at org.apache.webbeans.config.BeansDeployer
    .deploy(BeansDeployer.java:162)
    at org.apache.webbeans.lifecycle.AbstractLifeCycle
    .startApplication(AbstractLifeCycle.java:124)
    at org.apache.webbeans.web.lifecycle.WebContainerLifecycle
    .startApplication(WebContainerLifecycle.java:77)
    

Problem conclusion

  • The code was patched to prevent the application's parser
    leaking into the server's code.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.17 and 9.0.5.3.  For more information, see
    'Recommended
    Updates
    for
    WebSphere Application Server':
    http://www.ibm.com/support/docview.wss?
    rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH15728

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-08-19

  • Closed date

    2020-01-07

  • Last modified date

    2020-01-07

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
01 November 2021