IBM Support

Asynchronous trace capture for Decision Warehouse

Question & Answer


How can the Decision Warehouse trace be captured asynchronously so as to reduce the impact of monitoring on clients of ruleset executions ?


It is possible to customize the DW trace and implement the capture as an asynchronous operation in application servers supporting the commonj WorkManager API. A sample customization project is attached in this document. The commonj specification is in particular supported in WebSphere Application Server through asynchronous beans, see: Asynchronous beans


In order to use this asynchronous DW trace implementation in an application server that supports commonj API such as WebSphere 6.1 and WebSphere 7.0, proceed as follows:

  • bundle the attached jrules-asynctrace.jar in the application that will perform ruleset executions, along with the Rule Execution Server session library used for executions
  • configure the application server resources to provide a commonj WorkManager : in WebSphere Application Server a default work manager is available under the JNDI name wm/default
  • declare the following resource reference ( in WEB-INF/web.xml if ruleset execution is initiated from a web application, or in META-INF/ejb-jar.xml if it is initiated from an EJB)

  • bind the resource reference above with the JNDI name of the commonj WorkManager provided by the application server. For example in WebSphere Application Server this binding can be established at deployment time and set to: wm/AsyncTraceWorkManager -> wm/default


If you are interested in learning about the implementation of this DW trace you can use the following eclipse project :

[{"Product":{"code":"SS6MXF","label":"WebSphere ILOG Decision Validation Services"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Performance","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"7.1.1;7.1;7.0.3;7.0.2;7.0.1;7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5;8.0.1;8.0;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018