IBM Support

PI17825: Worklight adapter using XSLT on IBM runtime for Java fails with msg JVMVRFY013 for org.apache.xalan classes

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A Worklight adapter using XSLT processing on an IBM 1.6 or 1.7
    Java runtime may fail with the message "JVMVRFY013 class loading
    constraint violated" for org.apache.xalan classes.  The error
    message will be returned to the invoker of the adapter and will
    appear in the application server log.
    
    additional Keywords :
    adapter,xsl,foreach,jvmrfy013
    
    Worklight Versions Affected:
    5.0.6.2-IF201403101802, 6.0.0.2, 6.1.0.1
    Initial Impact:
    MEDIUM
    

Local fix

  • The problem can be circumvented by doing ONE of the following:
    - Using an Oracle Java runtime.
    - Set the javax.xml.transform.TransformerFactory service
    provider for the IBM Java runtime to
    org.apache.xalan.processor.TransformerFactoryImpl. Changing this
    value may possibly impact other users of the same Java runtime.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * 1. Users are working with IBM JVM                            *
    * 2. And using specific XSL definition in an adapter, for      *
    * example using 3 and more XML nodes in single XSL loop        *
    * definition.                                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Invoking the adapter procedure gives "JVMVRFY013 class       *
    * loading constraint violated" for org.apache.xalan classes.   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * 1. Switch to Oracle JVM                                      *
    * 2. Or Use nested loops instead using 3 and more XML nodes in *
    * single XSL loop definition                                   *
    ****************************************************************
    

Problem conclusion

  • The code was fixed by using internal IBM JDK implementation of
    xalan library instead 3rd party library in case IBM JVM.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI17825

  • Reported component name

    WORKLIGHT ENTER

  • Reported component ID

    5725I4300

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-14

  • Closed date

    2014-06-16

  • Last modified date

    2014-06-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

    WORKLIGHT ENTER

  • Fixed component ID

    5725I4300

Applicable component levels

  • R506 PSY

       UP

  • R600 PSY

       UP

  • R610 PSY

       UP

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"600","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021