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.
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.
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.
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
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.?