Question10Replies68Views Kiran Kumar Member since 2019 2 posts New South Wales State Government Posted: 10 months agoLast activity: 9 months 4 weeks ago Solved Issue while creating custom cipher in Pega PlatformHi All,I need to create custom cipher in Pega Platform. I followed the below linkhttps://community.pega.com/knowledgebase/articles/security/creating-custom-cipher-pega-platformFrom the scripts directory, ran runPega.bat with the following parameters:--driver <path to the database driver file> --prweb <path to the archives/prweb folder> --propfile <path to the bootstrap properties file> com.pega.pegarules.exec.internal.util.crypto.JCECapabilitiesbut facing below issue'#check' is not recognized as an internal or external command, operable program or batch file. Error: Could not find or load main class com.pega.pegarules.pub.PegaRULES Low-Code App Development Installation and Deployment ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 10 months agosetha1 PEGA replied to Kiran Kumarhi, can you please check if prbootstrap.properties file is updated to the correct codeset version for your Pega platform?? com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode=07-xx-xx Posted: 9 months agoKiran Kumar New South Wales State Government replied to setha1Yes setha, com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode is updated to the correct codeset version com.pega.pegarules.bootstrap.codeset.version.Pega-EngineCode=07-10-33 Posted: 9 months agoShekhar_Shubham PEGA replied to Kiran KumarPlease try what I have suggested below, it will solve your issue Posted: 10 months agoShekhar_Shubham PEGA replied to Kiran KumarHi, Can you open runPega.bat or runPega.sh and update the below line with correct version of the jar you have in the system. set classpath=%classpath%;%warDir%\WEB-INF\lib\jsr94-1.0.jar;%warDir%\WEB-INF\lib\prbootstrap-api.jar;%warDir%\WEB-INF\lib\prbootstrap.jar;%warDir%\WEB-INF\lib\prdbcp.jar NOTE: The above line may be different based on Pega version you have In 7.3.1 In Pega 8.1 You can also try below and see if it works set classpath=%classpath%;%warDir%\WEB-INF\lib\* Also there has been different issues identified in the below post. May help you https://community1.pega.com/community/product-support/question/runpegabat-encryption-blobs-running-jcecapabilities-determine Thank You Posted: 10 months agoShekhar_Shubham PEGA replied to Kiran KumarHi, I have attached the file with the changes I have made. You can refer them You may or may not pass code version, both will work. Please refer the attached file and modification. Major one is what I suggested above set classpath=%classpath%;%warDir%\WEB-INF\lib\* I have added run logs as well. Thank You Posted: 9 months agoKiran Kumar New South Wales State Government replied to Shekhar_ShubhamThanks Shekhar, after updating classpath in runPega.bat to the correct jar file names and commenting out the line '#check if ...' in runPega.bat solved the current issue. Posted: 9 months agoShekhar_Shubham PEGA replied to Kiran KumarCross check the prbootstap.properties and prconfig.xml which I have attached. Now the issue is only with finding the file and loading the setting. Verify what values you are passing and how I have passed them Posted: 9 months agoKiran Kumar New South Wales State Government replied to Shekhar_ShubhamThanks Shekhar, the command is working now. I missed database Name in the url in prbootstrap.properties file. All good now. Thanks again ! Accepted Solution Posted: 9 months agoShekhar_Shubham PEGA replied to Kiran KumarProblem: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'PegaDATA.pr_data_admin'. Do you have below config in prconfig.xml? <env name="database/databases/PegaDATA/userName" value="PRPC7311DATA" /> <env name="database/databases/PegaDATA/password" value="PRPC7311DATA" /> And prbootstrap.properties com.pega.pegarules.bootstrap.allclasses.schema=PRPC7311RULES com.pega.pegarules.bootstrap.datatables.schema=PRPC7311DATA https://community.pega.com/support/support-articles/pega-installation-fails Cross check all config with what I have added. Let me know whether issue was resolved? Posted: 9 months agoKiran Kumar New South Wales State Government replied to Shekhar_ShubhamThanks Shekhar, the command is working now. I missed database Name in the url in prbootstrap.properties file. All good now. Thanks again !