Question
Ernst & Young
BR
Last activity: 21 Nov 2023 7:19 EST
PRPCUtils - SEVERE - Problem during method invocation
When i try to execute import function with prpcUtils i get this error below:
My prpcUtils.properties are correctly configured for my Database connection and my archive path for import too. Does anyone knows how i can resolve this?
-
Reply
-
Dhananjaya Chennaka dixith puram -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Ernst & Young
BR
Hello,
Yes, i solved this issue.
The issue was been caused by my PegaInstall and prpcUtils version that was in 8.6.1 and the Pega Version in DB that i tried to import the package is 8.8.1.
So, when i downloaded the PegaInstall 8.8.1 and runned the import again, it works perfectly.
Thanks
Fabricio.
Updated: 25 Oct 2023 6:17 EDT
Proximus
BE
Basically it's not able to connect to your DB, so if all your config files are correct then I think it's not able to properly find the correct config file.
It's maybe worth also to make a direct DB connection from this server to validate the technical path server/DB/login/pass/driver.
Regards
Anthony
Ernst & Young
BR
Thanks for your response!
The problem is that this postgres DB is a service in an Azure Oracle Linux VM. So i already tried to directly execute this import in the VM and via local terminal.
I can connect in this db with no problem with these exactly configs configured in the files.
The logs returns that have a problem in prbootstrap.properties and prconfig.xml that generates a error when prpcUtils try to use PegaRules and culminate in these two messages:
[java] (!) Unable to use given database configuration [java] (!) Unable to locate classes on filesystem
Regards,
Fabricio
Proximus
BE
Hello,
Can you please clean all previous temp directories.
I also see in your screen that it warned about not being able to delete.
From current execution path, script will take info and generate temp directories with extracted info from your config.
If there are kind of grants issues in these temp files then it could be it's still using previous incorrect info.
You can also make your custom script to get printed the info that you're troubleshooting
At the end, in some way it's not picking up your values but some other default ones
Regards
Anthony
Ernst & Young
BR
Hello,
I cleanned all the previous temp paths and even after this, the problem persist.
Regards,
Fabricio.
Proximus
BE
Hello,
in the log directory created by the execution, have you checked the content for prbootstrap.properties ?
This one contains the info that the process will use, ie, login, pass, etc, which are retrieved from your config file.
Regards
Anthony
Ernst & Young
BR
Hello,
Yeah, i checked this prboostrap.properties and the infos inside it are correct.
regards,
Fabricio.
Proximus
BE
well I think initial analysis of the issue is not fully correct since it's actually able to read the active codeset.
This means DB access is OK.
Then, the script tries to locate the class and there it is failing.
Is your user well able to Read/Write in rules.pr_assembledClasses and rules.pr_engineclasses.
It could actually be your user grants instead (You could try with another one)
The best could be to find the debug option of this script. Sure it exists.
Regards
Anthony
Proximus
BE
Accepted Solution
Ernst & Young
BR
Hello,
Yes, i solved this issue.
The issue was been caused by my PegaInstall and prpcUtils version that was in 8.6.1 and the Pega Version in DB that i tried to import the package is 8.8.1.
So, when i downloaded the PegaInstall 8.8.1 and runned the import again, it works perfectly.
Thanks
Fabricio.