IBM Support

Configuring a shared library to support a business object map

Troubleshooting


Problem

Using the information in

Using shared library by-referencing to share Java binaries, XML schemas, and interface definitions to configure a shared library for a module with a process component, you might receive a CWLAS0002E when the business object map runs.

Symptom

After you configure the shared library as described in Using shared library by-referencing to share Java binaries, XML schemas, and interface definitions and deploy the module, the following exception is written to the SystemOut.log file:

com.ibm.wbiserver.map.impl.MapServiceImpl transform(String mapTNS, String mapName, HashMap inputObjects, HashMap outputObjects, ExecutionContext context) CWLAS0002E: The initializeCaseStatusInfoMap map was not found.

Cause

The CWLAS0002E error occurs because the IBM Workflow Server library exported with the IBM Integration Designer doesn't contain the expected Java™ code for MAP and business object map support is not included in the global shared library.

Resolving The Problem

You can fix this error by sharing these artifacts by-reference.
Complete the following steps:
  1. Create an empty module project in Integration Designer.
  2. Copy the business object map artifact into the project.
  3. Export the module as an .ear file.
  4. Install the exported .ear file in the runtime environment.
  5. Go to the directory where the .ear file was installed, and then copy the Java archive (.jar) file for the module to a temporary directory.
  6. Uninstall the application.
  7. Extract the .jar file for the module and copy the classes that are generated by the map into the global shared library .jar file.
  8. Restart the server.

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"ARM Category":[{"code":"a8m0z0000000C0dAAE","label":"BAW Documentation"}],"Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Version(s)","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSQH9M","label":"WebSphere Process Server"},"ARM Category":[],"Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
21 May 2020

UID

swg21450972