IBM Support

PH01114: CDI FAIL TO PARSE XML OBJECTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CDI is failing to protect its thread context when it creates
    XML parser objects
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: CDI overrides the default XML parser    *
    *                      during application startup.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The wrong classloader could be on the thread context when
    parsing beans.xml files. This could result in the wrong XML
    parser being used and an exception such as:
    Caused by: javax.xml.parsers.FactoryConfigurationError:
    Provider javax.xml.parsers.SAXParserFactory could not be
    instantiated: java.util.ServiceConfigurationError:
    javax.xml.parsers.SAXParserFactory: Provider
    oracle.xml.jaxp.JXSAXParserFactory not found
    at javax.xml.parsers.SAXParserFactory.newInstance(Unknown
    Source)
    at
    org.jboss.weld.xml.BeansXmlParser.parse(BeansXmlParser.java:85)
    at
    org.jboss.weld.bootstrap.WeldBootstrap.parse(WeldBootstrap.java:
    131)
    at
    

Problem conclusion

  • CDI now sets an appropriate thread context classloader before
    parsing beans.xml files
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 9.0.0.9 and liberty 18.0.0.1.  Please refer to the
    Recommended
    Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH01114

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-07-31

  • Closed date

    2018-08-24

  • Last modified date

    2018-09-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

  • R900 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":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 May 2022