IBM Support

RS02086: RES EXECUTION FAILS WITH LINKAGEERROR ON WEBLOGIC 12C

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • RES execution on Weblogic 12c may fail with an exception such
    as:
    java.lang.LinkageError: loader constraint violation: when
    resolving method "com.ibm.rules.res.xu.client.internal.XUClient.
    createRuleEngineSession(Lilog/rules/res/model/IlrPath;
    Ljava/lang/ClassLoader;
    Lcom/ibm/rules/engine/connector/DataConnectorFactory;
    Ljava/io/Serializable;Ljava/lang/String;)
    Lcom/ibm/rules/res/xu/client/internal/XURuleEngineSession;" the
    class loader (instance of
    weblogic/utils/classloaders/GenericClassLoader) of the current
    class, ilog/rules/res/session/impl/IlrStatefulSessionBase, and
    the class loader (instance of
    weblogic/utils/classloaders/GenericClassLoader) for resolved
    class, com/ibm/rules/res/xu/client/internal/XUClient, have
    different Class objects for the type ssion(
    Lilog/rules/res/model/IlrPath;Ljava/lang/ClassLoader;
    Lcom/ibm/rules/engine/connector/DataConnectorFactory;
    Ljava/io/Serializable;Ljava/lang/String;)
    Lcom/ibm/rules/res/xu/client/internal/XURuleEngineSession; used
    in the signature
    at ilog.rules.res.session.impl.IlrStatefulSessionBase.<init>(
    IlrStatefulSessionBase.java:102)
    at ilog.rules.res.session.impl.pojo.IlrStatefulSessionPOJO.
    <init>(IlrStatefulSessionPOJO.java:45)
    at ilog.rules.res.session.impl.pojo.IlrStatelessSessionPOJO.
    createStatefulSession(IlrStatelessSessionPOJO.java:57)
    at ilog.rules.res.session.impl.IlrStatelessSessionBase.execute(
    IlrStatelessSessionBase.java:62)
    ...
    

Local fix

Problem summary

  • JBoss classloader is requiring classes in specific location and
    the ejb3 jar is not properly packaged  for this.
    

Problem conclusion

  • EJB3 jar packaging is modified to include missing classes
    

Temporary fix

  • set "enable-global-access-to-classes" to false in the XU
    resource adapter
    

Comments

APAR Information

  • APAR number

    RS02086

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    870

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-27

  • Closed date

    2015-09-04

  • Last modified date

    2015-09-04

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

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

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

  • R871 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"870","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 February 2022