Error while starting AEM Quickstart after installing AEM Forms

If you happen to see the following error while starting AEM 6.0 quickstart after installing AEM Forms add-on package (adobe-aemfd–pkg-1.0.78.zip)

 

*ERROR* [FelixDispatchQueue] adobe-aemfd-signatures FrameworkEvent ERROR (org.osgi.framework.BundleException: Activator start error in bundle adobe-aemfd-signatures [402].)
org.osgi.framework.BundleException: Activator start error in bundle adobe-aemfd-signatures [402].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2202)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2070)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1297)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/rsa/asn1/ASN_Exception
at com.adobe.fd.signatures.activator.Activator.start(Activator.java:36)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2152)
… 4 common frames omitted
Caused by: java.lang.ClassNotFoundException: com.rsa.asn1.ASN_Exception not found by adobe-aemfd-signatures [402]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1550)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1973)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 7 common frames omitted

 

It is because couple of boot delegation properties not being included in sling.properties file.

 

To resolve these errors , follow the steps mentioned :

  1. Stop AEM server
  2. Add these two properties in sling.properties file under /conf folder

sling.bootdelegation.class.com.rsa.jsafe.provider.JsafeJCE=com.rsa.*
sling.bootdelegation.class.org.bouncycastle.jce.provider.BouncyCastleProvider= org.bouncycastle.*

After restart ensure that there are no errors in error.log file and also status of  AEMFD Signatures Bundle (adobe-aemfd-signatures ) bundle should be in Active state.

 

For more information visit online help docs

 

–Santosh

http://about.me/nskumar

 

Comments are closed.