Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.pega.pegarules.common.PREngineProvider
Hi ,
Last week we installed hotfix for A22 security vulnerability after which few of our integrations stopped with below error:
"Java code injection pattern identified in the java source code .Vulnerable code detected."
Hence we tried to rollback the hotfix and perform a clean restart. However after restart the server is not coming up.
And in logs we could see the below error:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.pega.pegarules.common.PREngineProvider
Kindly help with your thoughts.
Mail id: Proprietary information hidden
***Edited by Moderator Marije to add Support Case Details***
@MarijeSchillernWe are so glad that we got work around from Pega team and with that we could bring up the servers.
Along with the error mentioned in this question we had one more error in logs:
Caused by: java.lang.NoClassDefFoundError: com/hazelcast/core/LifecycleListener
Providing the root cause and work around in this thread as it may help others.
Root cause could be same as mentioned in below link :
https://collaborate.pega.com/question/application-not-starting-javalangnoclassdeffounderror-comhazelcastcorelifecyclelistener
Workaround from Pega team:
We have received the below workaround from engineering. Could you please try this before making DB restore?
Can you try the below workaround:
Roll back all the Hotfixes. Bring up a single node with "identification/cluster/protocol" value="standalone". Install Hotfixes other than security ones. Bring up whole Cluster by removing setting "identification/cluster/protocol" value= “standalone”
We added the above configuration setting in prconfig.XML file under <env name> section and then restarted the server.