Question
Nordea
SE
Last activity: 27 Jun 2018 9:59 EDT
Rollback Changes of JAR file
Hi,
We tried to install one of the external jar files to implement something in pega and few things (for e.g. existing integrations) stopped working after that. I just want to know if there is a way to rollback all the changes of that JAR file or DB rollback is the only option left here?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
EPAM Systems, Inc.
ES
So basically, there are two methods suggested in the link
1. Pega stores the jar in "pr_engineclasses". It can be directly deleted from the backend.
2. Delete from "ServiceExport" directory of your server.
Kindly revert back, which method you've used and it worked for you.
EPAM Systems, Inc.
ES
All the uploaded jar files will be saved in ".\work\Catalina\localhost\prweb\StaticContent\global\ServiceExport" folder.
Example for tomcat :-Tomcat 6.0\work\Catalina\localhost\prweb\StaticContent\global\ServiceExport
Refer it for details. Hope it answers your question, kindly acknowledge by marking this post as answered/helpful for larger Pega audience.
Accepted Solution
EPAM Systems, Inc.
ES
So basically, there are two methods suggested in the link
1. Pega stores the jar in "pr_engineclasses". It can be directly deleted from the backend.
2. Delete from "ServiceExport" directory of your server.
Kindly revert back, which method you've used and it worked for you.
Nordea
SE
The issue is resolved after deleting the instance from PR_ENGINECLASSES so 1st approach worked however we tried 2nd approach earlier which didn't work.
There is a similar post on the community which helped me lot:--
https://community1.pega.com/community/product-support/question/delete-uploaded-jar
-
Gopal S
Pegasystems Inc.
IN
Before deleting the jar files from pr_engine_classes make sure that you have identified the dependents and deleted it .
Also I don’t think you can delete the jars from serviceexport directory because it’s placed in PRPCTemp folder .
Thanks,
Arun
Pegasystems Inc.
IN
Hi Anand,
For now i think DB restore is the best option for you and in future if you run into the similar issue again, you can use below approach:
While importing you can create a restore point. Please refer the below link for the same:
After that you can rollback to the restore point created. Please refer the below links:
Regards,
Vikash
Nordea
SE
Hi Vikash,
Thanks for your reply. Since we are using Pega 7.1.9, i don't think restore option is available prior to 7.2 but we have been able to fix this after deleting the jar instance from PR_ENGINECLASSES