We are using the Pega import command to import the product jar to the target server. In this process, we have updated the prpcutils.properties file with the required data base information and jar path. After running the command we are getting the following error:
[java] (!) Unable to use given database configuration
[java] (!) Unable to locate classes on filesystem
Any suggestions would be helpful and following is the log file.
[echo] about to Import from : /apps/Oracle/Middleware/user_projects/domains/PegaDomain/Pega_DevOps/ExportedProducts/TestImportJAR.jar archive ...
Have you gone through the Pega Help, if not could you have a look into Import tool Settings section over here to understand the usage of import feature using prpcUtils. Basically you need to configure the properties available in this section as per your requirement then call the "prpcUtils.bat/sh import" command and you can have a look into the bottom of the page to see the prpcUtils script arguments that you can pass through the command line execution. Hope that helps you to achieve your requirement.
You need to provide the file name along with the full path in import.archive.path property and run the "prpcUtils.bat/sh import" command from the utility directory where this bat file exists. Hope this helps you.
You can login to the target system and check for the product rule whether its imported or not. By the way i would suggest you to raise a new post with all the artifacts if you face any further issue in the import process instead of discussing in this old closed thread, as your's a different scenario.
The issue has been resolved now, earlier I used single schema name for both rules schema and data schema which is causing this error. So changed the schema names in the prpcutils.properties file for rules.schema.name and data.schema.name with valid data accordingly and it worked. Thanks for your comments Mahesh and Arun.