Support Article

RuleNotFound Pega-Landing-System-Upgrade during upgrade to 7.1.7

SA-6414

Summary



Upgrading from Pega 6.x to 7.1.7 split schema and upgrade failing during "Upgrade Rule Messages" task upgrading rules schema

Error Messages



[java] Caused by: com.pega.pegarules.pub.generator.RuleNotFoundException: pyVTable-RuleNotFound-NoMatches RULE-OBJ-ACTIVITY PZUPGRADERULEMESSAGES Pega-Landing-System-Upgrade 1 The 1 rules named 'PZUPGRADERULEMESSAGES' defined in the rulebase are:
[java] 1 related to applies-to class 'Pega-Landing-System-Upgrade', but were defined in rulesets which are not in your rulesetlist: 'Pega-LP-SystemSettings:07-10-15'.

[java] at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableResolver.throwDetailedRuleNotFoundException(VirtualTableResolver.java:711)
[java] at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableResolver.resolveToContainer(VirtualTableResolver.java:390)
[java] at com.pega.pegarules.generation.internal.vtable.ruleres.VirtualTableResolver.resolveRule(VirtualTableResolver.java:154)
[java] at com.pega.pegarules.generation.internal.vtable.VirtualTableImpl.resolveRule(VirtualTableImpl.java:254)
[java] at com.pega.pegarules.generation.internal.PRGenProviderImpl.get(PRGenProviderImpl.java:474)
[java] at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3358)
[java] at com.pega.pegarules.deploy.internal.util.UpgradeRuleMessages.main(UpgradeRuleMessages.java:79)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[java] at java.lang.reflect.Method.invoke(Method.java:606)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:338)
[java] at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:379)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:216)
[java] at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:265)
[java] ... 1 more



Steps to Reproduce



Run upgrade for rules schema

Root Cause



While trying to resolve a previous error, you notice that the setupDatabase.xml file that comes with the media was altered to change the system name defined in the prconfig.xml file from prpc to pega.  The access groups of the Pega requestor types on this system have not yet been updated to be to the correct Pega 7 rulesets.  The prpc systemName should be used for the upgrade.

Resolution



To resolve this issue, perform the following local change: 

Use setupDatabase.xml file that comes with the media and resume the upgrade.

Published February 26, 2016 - Updated October 8, 2020


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.