Question
Bank of Singapore
SG
Last activity: 4 Oct 2018 13:54 EDT
Importing multiple RAP files in the sequence defined
Hi,
when i gave multiple RAP file paths to the ./prpcUtils.sh importPegaArchive --archivePath /test_zips/zipname.zip,/test_zips/zipname1.zip,/test_zips/zipname2.zip
like this, I have facing that those RAP's are not followed the order given , those are imported randomly.
Can u suggest what the approach to follow to get the correct order.
***Updated by moderator: Lochan to create new post from this comment and add topic categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
DCS
AU
Received Hot Fix for SR-B2561 (Automating the order of RAP deployment process) from PEGA Support team.
Added new feature sort option in the PRPC utilies (comman line utilies). Default value for sort is "true" means will sorted based on the file timestamp. "false" means will consider the file order (sequence) for deployment.
Thanks,
M Prasad
JPMorgan Chase & Company
US
Hi Venu,
It should follow the order from left-to-right, I am not sure why you are facing this issue. Could you please share the log file and prpc version.
Virtusa IT Consulting
AE
What's the import.action value you have set in prpcUtils.properties?
Accepted Solution
DCS
AU
Received Hot Fix for SR-B2561 (Automating the order of RAP deployment process) from PEGA Support team.
Added new feature sort option in the PRPC utilies (comman line utilies). Default value for sort is "true" means will sorted based on the file timestamp. "false" means will consider the file order (sequence) for deployment.
Thanks,
M Prasad
Updated: 9 Feb 2017 6:14 EST
Pegasystems Inc.
US
Hi M.Prasad,
I see that you and venug724 work for the same company, are you saying that the 2 of you worked together with that SR to receive the hotfix? I'd like to update the original post and mark your reply as the Correct Answer if this is true.
Thanks in advance! :)
DCS
AU
Yes. we worked to receive Hot fix.
Pegasystems Inc.
JP
Hi,
We have exactly the same requirement - We have several R-A-P files and there is a specific order to import. I believe the above prpcUtils property which controls that is "import.preserveOrder" (see https://community.pega.com/sites/default/files/help_v731/procomhelpmain.htm).
import.preserveOrder:
Optional: true or false, specifying whether to import archives in the order specified in the import file. The default is false, which does not enforce any order.
I have identified this item in Pega 7.3.1 prpcUtils but it is not found in Pega 7.1.9 prpcUtils. From which version is this enhancement merged into a product?
Thanks,
Pegasystems Inc.
US
@TSUCK this feature has been implemented from Pega v7.3 onwards and for the earlier versions it has been provided as a hotfix. I had checked for the Pega v7.19 and couldn't find the existing hotfix. So you can raise an Support request with the Support team, to get the hotfix for Pega v7.1.9.
Pegasystems Inc.
JP
This feature seems to be merged in 7.2.2. We have obtained a hotfix (HFix-40226.jar) that is back-ported for 7.1.9. However, the import.preserveOrder option is not provided in this hotfix, and instead sort option is available. The difference is, with sort option there is no need to modify the prpcUtils.properties file. sort option is still available in the latest version but what is confusing is, the boolean you need to give is opposite.
so, below is equivalent:
> prpcUtils.bat import --sort false
> prpcUtils.bat import with prpcUtils.properties file import.preserveOrder true
Thanks,
Pegasystems Inc.
US
Thanks for sharing this additional information!
Synechron
IN
Hi Guys ,
When i am trying to import the jars , it is showing exceptions in first import like "com.pega.pegarules.pub.database.DatabaseException: Database-General There was a problem committing a transaction on database PegaRULES 17273 99999 Could not commit with auto-commit set on" and when i try to again import the same jar, it does import successfully without any error. Did somebody face such issue before.?