IBM Support

PI79731: JAVAX.XML.STREAM.XMLINPUTFACTORY COULD NOT BE INSTANTIATED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Metadata code is not protecting its thread context class loader
    before creating XML objects.
    
    Caused by: javax.xml.stream.FactoryConfigurationError: Provider
    javax.xml.stream.XMLInputFactory could not be instantiated:
    java.util.ServiceConfigurationError:
    javax.xml.stream.XMLInputFactory: Provider
    com.ctc.wstx.stax.WstxInputFactory not a subtype
     at javax.xml.stream.XMLInputFactory.newFactory(Unknown Source)
     at javax.xml.stream.XMLInputFactory.newInstance(Unknown Source)
     at
    com.ibm.websphere.product.metadata.im.IMMetadata.setHistoryEvent
    sFromHistoryXml(IMMetadata.java:745)
     at
    com.ibm.websphere.product.metadata.im.IMMetadata.parseHistoryXml
    File(IMMetadata.java:587)
     at
    com.ibm.websphere.product.metadata.im.IMMetadata.parseInstallReg
    istryFiles(IMMetadata.java:399)
     at
    com.ibm.websphere.product.metadata.im.IMMetadata.<init>(IMMetada
    ta.java:269)
     at
    com.ibm.websphere.product.metadata.im.IMMetadata.getIMMetadataIn
    stance(IMMetadata.java:133)
     at
    com.ibm.websphere.product.metadata.WASMetadata.parseMetadataFile
    s(WASMetadata.java:939)
     at
    com.ibm.websphere.product.metadata.WASMetadata.<init>(WASMetadat
    a.java:784)
     at
    com.ibm.websphere.product.metadata.WASMetadata.getWASMetadataIns
    tance(WASMetadata.java:215)
     at
    com.ibm.websphere.product.WASDirectory.initMetadataInstance(WASD
    irectory.java:1415)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Running applications with Java 8 gets   *
    *                      error:                                  *
    *                      javax.xml.stream.XMLInputFactory        *
    *                      could not be instantiated               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    At default, com.ibm.websphere.product uses IBM Java 8 provided
    XML parser and APIs. The error occurs if the XML parser and
    APIs are override by third-part applications:
    Caused by: javax.xml.stream.FactoryConfigurationError: Provider
    javax.xml.stream.XMLInputFactory could not be instantiated:
    java.util.ServiceConfigurationError:
    javax.xml.stream.XMLInputFactory: Provider
    com.ctc.wstx.stax.WstxInputFactory not a subtype
    at javax.xml.stream.XMLInputFactory.newFactory(Unknown Source)
    at javax.xml.stream.XMLInputFactory.newInstance(Unknown Source)
    at
    com.ibm.websphere.product.metadata.im.IMMetadata.setHistoryEvent
    sFromHistoryXml(IMMetadata.java:745)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI79731

  • 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

    2017-04-10

  • Closed date

    2017-05-16

  • Last modified date

    2017-05-16

  • 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:
28 April 2022