Jsafe error during preview

Avatar

Avatar

yada_deloitte

Avatar

yada_deloitte

yada_deloitte

05-06-2017

Hi,

I get the following error message in AEM Forms CM interface when I hit on PREVIEW button. I activated the watermark option in the configuration and then I started getting this error message.

1223044_pastedImage_0.png

Replies

Avatar

Avatar

sharoon23

Employee

Avatar

sharoon23

Employee

sharoon23
Employee

05-06-2017

Hi,

You have to perform boot delegation to load rsa jars which are needed by assembler service to add watermark in the PDF generated on CM letter render. You can follow [1] to do the same.

[1]: Error while starting AEM Quickstart after installing AEM Forms

Regards,

Sufyan

Avatar

Avatar

yada_deloitte

Avatar

yada_deloitte

yada_deloitte

06-06-2017

Hi,

Sorry, didn't update my question. I did found the above link and changed my sling properties file with the below two lines but then, I get the following error:

sling.bootdelegation.class.com.rsa.jsafe.provider.JsafeJCE=com.rsa.*

sling.bootdelegation.class.org.bouncycastle.jce.provider.BouncyCastleProvider=org.bouncycastle.*

Error:

1223684_pastedImage_0.pngsharoon23

Avatar

Avatar

sharoon23

Employee

Avatar

sharoon23

Employee

sharoon23
Employee

06-06-2017

Hi,

Do you have a space anywhere in the installation path of your AEM installation? If yes, please remove it and then try, it should work.

Avatar

Avatar

yada_deloitte

Avatar

yada_deloitte

yada_deloitte

07-06-2017

Sorry, but I didn't get it. I am running the quick start jar file.

Avatar

Avatar

sharoon23

Employee

Avatar

sharoon23

Employee

sharoon23
Employee

07-06-2017

Hi,

I meant that the path where you have installed quickstart like C:\cq\.. , does it contain a space in any of the folder names in the path? If yes, please remove it and restart the server.

Avatar

Avatar

yada_deloitte

Avatar

yada_deloitte

yada_deloitte

08-06-2017

Gotcha. I checked the path. Everything looks correct but it didn't work. For some reason I renamed the folder and then it worked.