IBM Support

PQ79606: NULL POINTER EXCEPTION WHEN STARTING APPLICATION USING XERCES ORXALAN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • If you are using an older version of Tomcat this limitation
    might apply. If you are using an older version of Xerces or
    Xalan in the endorsed override, you might get a null pointer
    exception when you startup your application. This exception
    occurs because these older versions do not handle the
    jaxp.properties file correctly.
    

Local fix

  • To avoid this situation, use one of the following workarounds:
    -  Upgrade to a newer version of the application that
       implements the latest Java API for XML Programming (JAXP)
       specification (http://java.sun.com/xml/jaxp/index.html).
    -  Remove the jaxp.properties file from /usr/java14/jre/lib
    -  Uncomment the entries in the jaxp.properties file in
       /usr/java14/jre/lib.
    -  Explicitly set the SAX Parser, DocumentBuilder or
       Transformer factory using the IBM_JAVA_OPTIONS environment
       variable. For example:
          set IBM_JAVA_OPTIONS=
              -Djavax.xml.parsers.SAXParserFactory=
               org.apache.xerces.jaxp.SAXParserFactoryImpl
       or
          set IBM_JAVA_OPTIONS=
              -Djavax.xml.parsers.DocumentBuilderFactory=
               org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
       or
          set IBM_JAVA_OPTIONS=
              -Djavax.xml.transform.TransformerFactory=
               org.apache.xalan.processor.TransformerFactoryImpl
    -  Set the system property
       for javax.xml.parsers.SAXParserFactory,
       javax.xml.parsers.DocumentBuilderFactory, or
       javax.xml.transform.TransformerFactory from within your
       application's code. For an example, see the JAXP 1.2
       specification.
    

Problem summary

Problem conclusion

  • Tomcat, 4.1.27, does not have the problem that is seen with
    Tomcat 4.0.2
    

Temporary fix

Comments

  • as above
    

APAR Information

  • APAR number

    PQ79606

  • Reported component name

    JAVA(1.3/1.4 CO

  • Reported component ID

    5648C9800

  • Reported release

    41A

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2003-10-15

  • Closed date

    2003-10-15

  • Last modified date

    2003-10-15

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.4.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 February 2022