Last activity: 16 Dec 2016 0:54 EST
Receiving Error while running the compile and load utility
Wanted to Encrypt the data, so following the steps to encrypt the blob
When tried to run the compileAndRun Utility Reveiving the following error
The import com.pega.pegarules.exec.internal.util.crypto.PRCipherBase cannot be resolved
Where does this library exist ? in which jar file ?
Using Pega 7.1.7
Could you please share with us the complete log file ?
you mean only the log file that is getting generated while running the compile and load uitlity , right?
can you please elaborate the usecase here?
We need to encrypt the data that gets stored in the database, and while retreiving it should get decrypted.
So i am trying to implement the class specific encryption, and check the Encrypt Blob CheckBox.
If there is other way for encrypting the data, please provide suggestion
Yes, the specific use case is needed here to advise you correctly. If you're simply looking to get access to the PRCipherBase to perform encrypt/decrypt, take a look at OOB Rule-Utility-Function "encryptPropertyValue". For various reasons, there is only one instance of the PRCipherBase subclass per Pega instance in a JVM. This "encryptPropertyValue" function uses thread safe approach of thisThread.getPublicAPI() to do things like getPRCrypto().encryptPropertyValue(someText).
When i ran the above the function , i got the following error
"encryptPropertyValue: No site-specific cipher algorithm"
The above problem in compile and load got solved, when i changed the java version from 1.6 to 1.7.
Now the compile and load utility imported the compiled jar into the database, and i did i restarted the tomcat server
Another information is that my tomcat is using java 1.6 verson , does that could be the reason that the compiled jar is not getting picked ?
What is the DSS setting that needs to be created for my customer specific codeset, i have created one but want to confirm.
Instead of configuring the prconfig preferred to use the DSS for cipherclasses
What is the dss for "< env name=”crypto/sitecipherclass” value=”<the full name of our class>”>" ?
prconfig/crypto/sitecipherclass/default is the DSS and value should be your cipher class name
How to move the jar to other environment
By Exporting the pr_engine class ? or we have run the compile and load script on all the environment ?
Any suggestion on this ?
Any suggestion on this ?
You have import the jar file in other environment, and restart the server by deleting pega extract market txt file
For customer codeset we can using the export feature in product rule, to export jar files