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

UpgradePegaMarketing activity fails with exception in log file

SA-57311

Summary



Exception occurs when running the post-processing step to run the UpgradePegaMarketing activity. 


Error Messages

[http-nio-8080-exec-3] [ STANDARD] [ ] [ PM_APP:01.01.01] ( pega.jsr199.Jsr199Bridge) ERROR <your_hostname>|<your_ip> MarketingAdministrator - Failed to compile rule: /com/pegarules/generated/pegamkt_engine_pegamktutilities.java
http-nio-8080-exec-3] [ STANDARD] [ ] [ PM_APP:01.01.01] (ary.LibraryFunctionUtilityImpl) ERROR <your_hostname>|<your_ip> MarketingAdministrator - Error compiling: com/pegarules/generated/pegamkt_engine_pegamktutilities; see class's compile log file.
[http-nio-8080-exec-3] [ STANDARD] [ ] [ PM_APP:01.01.01] ( internal.mgmt.Executable) ERROR <your_hostname>|<your_ip> MarketingAdministrator - Exception
com.pega.pegarules.pub.runtime.LibraryFunctionNotFoundException: Failed to extract 'pegamkt_engine_pegamktutilities'


Furthermore the pegamkt_engine_pegamktutilities.log file contains the following Java errors:

1.
ERROR in /com/pegarules/generated/pegamkt_engine_pegamktutilities.java (at line 49)
import com.pega.mkt.offer.ContactPolicyUtils;
The import com.pega.mkt cannot be resolved


2. ERROR in /com/pegarules/generated/pegamkt_engine_pegamktutilities.java (at line 65)
import com.pega.mkt.offer.*;
The import com.pega.mkt cannot be resolved


3. ERROR in /com/pegarules/generated/pegamkt_engine_pegamktutilities.java (at line 126)
private static final Class[] oParamTypes_cdf5ea683722f8df2a747e0b56e33c2d = {PublicAPI.class, String.class, ClipboardPage.class, String.class, String.class, String.class, OfferFlow.class, };
OfferFlow cannot be resolved to a type



Steps to Reproduce

  1. Update Pega Marketing from 7.21 to 7.31 according to the upgrade guide
  2. Install HFix-42307 after importing the Marketing upgrade packages
  3. When running the 'UpgradePegaMarketing' activity, check the upgrade from 7.21 and upgrade from 7.22 check boxes and run the activity


Root Cause



A defect or configuration issue in the operating environment.
The following Dynamic System Setting (DSS) wer missing in the environment:
    Pega-Engineproperties/com.pega.pegarules.bootstrap.codeset.version.PegaMKT/default
    Pega-Engineproperties/com.pega.pegarules.bootstrap.codeset.version.pegamkt3rdparty/default
Errors occurred on committing the last batch as present in the logs for 'PegaMarketing_0731.zip'.


Resolution



Perform the following local-change:

Reimport "PegaMarketing_0731.zip".


​​​​​​​

Published July 23, 2018 - 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