Skip to main content

IV22075: PERFORMANCE IS SLOW FOR TRANSFORMATIONS WHERE THE RESULT IS A DO MRESULT WITH THE NODE UNSET.


Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: Stack trace showing the performance hot spot:
            at java.io.File.exists(File.java:739)
            at
    sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:1
    219)
            at
    sun.misc.URLClassPath$FileLoader.findResource(URLClassPath.java:
    1186)
            at
    sun.misc.URLClassPath.findResource(URLClassPath.java:250)
            at
    java.net.URLClassLoader$4.run(URLClassLoader.java:752)
            at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:224)
            at
    java.net.URLClassLoader.findResource(URLClassLoader.java:749)
            at
    java.lang.ClassLoader.getResource(ClassLoader.java:444)
            at
    java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:511)
            at
    java.lang.ClassLoader.getSystemResourceAsStream(ClassLoader.java
    :611)
            at javax.xml.parsers.SecuritySupport$4.run(Unknown
    Source)
            at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:202)
            at
    javax.xml.parsers.SecuritySupport.getResourceAsStream(Unknown
    Source)
            at
    javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown
    Source)
            at javax.xml.parsers.FactoryFinder.find(Unknown Source)
            at
    javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown
    Source)
            at com.ibm.xtq.xslt.runtime.DOMBuilder.<init>(Unknown
    Source)
            at
    com.ibm.xtq.xslt.runtime.ConverterImpl.getInputSerializationHand
    ler(Unknown Source)
            at
    com.ibm.xtq.xslt.runtime.output.TransletOutputHandlerFactory.get
    SerializationHandler(Unknown Source)
            at
    com.ibm.xtq.xslt.jaxp.TransformerImpl.getOutputHandler(Unknown
    Source)
            at
    com.ibm.xtq.xslt.jaxp.TransformerHandlerImpl.setResult(Unknown
    Source)
            at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.DomLoader$Stat
    e.<init>(DomLoader.java:63)
            at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.DomLoader.star
    tElement(DomLoader.java:102)
            at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.ProxyLoader.st
    artElement(ProxyLoader.java:44)
            at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingC
    ontext._startElement(UnmarshallingContext.java:487)
            at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingC
    ontext.startElement(UnmarshallingContext.java:465)
            at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConn
    ector.handleStartElement(StAXStreamConnector.java:240)
            at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConn
    ector.bridge(StAXStreamConnector.java:174)
            at
    com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerIm
    pl.unmarshal0(UnmarshallerImpl.java:358)
            at
    com.sun.xml.internal.bind.v2.runtime.BridgeImpl.unmarshal(Bridge
    Impl.java:109)
            at
    com.sun.xml.internal.bind.api.Bridge.unmarshal(Bridge.java:222)
            at
    com.sun.xml.internal.ws.client.sei.ResponseBuilder$DocLit.readRe
    sponse(ResponseBuilder.java:514)
            at
    com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Sync
    MethodHandler.java:110)
            at
    com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Sync
    MethodHandler.java:78)
            at
    com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:1
    07)
    .
    

Local fix

  • The customer can set the following system properties:
    
    -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jax
    p.DocumentBuilderFactoryImpl
    
    -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache
    .xerces.parsers.XIncludeAwareParserConfiguration
    

Problem summary

  • The code was creating a new DocumentBuilder object for each
    transformation where the result was a DOMResult with the node
    unset.  Creating DocumentBuilder objects is expensive.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    7.0.0 SR2
    6.0.1 SR3
    .
    The code was modified to cache a DocumentBuilder object and
    reuse it.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV22075

  • Reported component name

    XML/XSL

  • Reported component ID

    620700126

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-04

  • Closed date

    2012-06-18

  • Last modified date

    2012-06-18

  • 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

    XML/XSL

  • Fixed component ID

    620700126

Applicable component levels

  • R600 PSY

       UP

  • R700 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

XML


Software version:
6.0


Reference #:
IV22075


Modified date:
2012-06-18

Translate my page

Content navigation