IBM Support

JR55597: YOU RECEIVE THE CWLLG2041E ERROR WHEN THE TEAM RETRIEVAL SERVICEUSES A MANAGED JAVASCIPT LIBRARY (MANAGED ASSET) IN A TOOLKIT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You can define a managed JavaScript library inside a toolkit
    (also called a "managed asset"). However, when that managed
    asset defines a function by using the team retrieval service in
    the process application to call the tw.* namespace, you receive
    the following error:
    
    wle           E   CWLLG2041E:
    TeamWorksJavaScriptException created non-nested.   Error:
    [TeamworksException name='ReferenceError',
    message='ReferenceError:
    "tw" is not defined. (test.js#8)', line=8, pos=-1
    nested=<none>]
    

Local fix

  • Create a separate service that implements the same function as
    the managed asset and remodel the application to use the service
    instead of the managed asset to run the function.
    

Problem summary

  • The function in the managed asset runs in an incorrect
    JavaScript context. In that context, the tw.* namespace is not
    initialized. Because the tw.* namespace is not initialized, you
    receive the error message.
    

Problem conclusion

  • A fix is/will be available for IBM BPM V8.5.6 cumulative fix 2
    that runs a managed asset JavaScript function in the correct
    JavaScript context.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR55597:
    
    1. Select IBM Business Process Manager with your edition from
      the product selector, the installed version to the fix pack
      level, and your platform, and then click Continue.
    
    2. Select APAR or SPR, enter JR55597, and click Continue.
    
    When you download fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR55597

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    856

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-03-22

  • Closed date

    2016-04-29

  • Last modified date

    2016-04-29

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"856","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 August 2023