Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

NBAM Program Failures due to system pulse issues

SA-14164

Summary



After installing hotfix for Data Partitioning in NBAM 6.3.1 (HFix-21539.jar, HFix-22397.jar), program failures occur due to sync issues while executing offer flows on different node to that of the node where the program was picked for execution.

For example, if the program is picked up by Node1 and the while execution, offer batch occurs on Node4, the ProcessOfferBatch agent is unable to find the Data-BatchOutPRXXX Class.


Error Messages



2015-07-21 07:06:55,126 [ PegaRULES-Batch-1] [ STANDARD] [ PegaNBAM:06.03] (a_decisionengine_batchdecision) ERROR - Batch execution failed. Can't create batch writer. Database-BadClassDef Data-BatchOutxxxx
java.lang.RuntimeException: Can't create batch writer. Database-BadClassDef Data-BatchOutxxxx


Steps to Reproduce



1. Apply Hotfixes - HFix-21539.jar and HFix-22397.jar.
2. Set up NBAM to use Data Partitioning.
3. Schedule Multiple program runs and check for errors.


Root Cause



A defect or configuration issue in the operating environment . In NBAM Partitioning mode, during Program execution, many parallel threads get created as part of Strategy and Offer Flow execution.
However, in the PRPC agent execution, by default, threadpool size is 5. The additional threads from Program execution caused the System Pulse agent to queue behind them and executed 5-7 mins after its last run, instead of every 60 secs.
Since the system pulse had not run in time, the batch class generated by the Program run was not visible across other nodes.


Resolution



Local-change is to update the prconfig.xml to define higher thread pool size.

        <env name="agent/threadpoolsize" value="30" />

 

Published October 6, 2015 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us