QuestionQ33

Security, accessibility, and troubleshooting

In an adaptive form, the form's submit action is configured to invoke an AEM OSGi workflow. The Forms Developer observes that submission invokes the workflow without attachments. The following error occurs when the submission includes attachments:

Caused by: java.lang.ClassNotFoundException: com.rsa.jsafe.JSAFE_SecureRandom not found by com.adobe.aemfd.adobe-aemfd-assembler [602] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1597) at org.apache.felix.framework.BundleWiringImpl.access  
300(BundleWiringImpl.java : 79)atorg.apache.felix.framework.BundleWiringImpl  
BundleClassLoader.loadClass(BundleWiringImpl.java:1982)  
at java.lang.ClassLoader.loadClass(Unknown Source)  

Which action should the Forms Developer take to resolve this issue?

Explanation

AEM Forms document services require boot delegation for the RSA JSAFE and BouncyCastle libraries. Without it, the AEM Forms assembler bundle cannot load com.rsa.jsafe.JSAFE_SecureRandom, producing the attachment-processing failure. Configure the RSA/BouncyCastle boot-delegation properties in sling.properties and restart the AEM instance.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!