Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Could not initialize class com.rsa.cryptoj.o.dl

mohamed90
Level 3
Level 3

Hello, I set up on AEM Form 6.4, I have created Adaptive Form with attachment and submit button and I have added the two line in /crx-quickstart/conf/sling.properties
sling.bootdelegation.class.com.rsa.jsafe.provider.JsafeJCE = com.rsa. *
sling.bootdelegation.class.org.bouncycastle.jce.provider.BouncyCastleProvider = org.bouncycastle. *
and remove the spaces from the installation path either

Nevertheless, the problem stays with me

Any help . Thanks Unbenannt.PNG

19 Replies
Mayank_Gandhi
Community Advisor
Community Advisor

What is the forms package that you have installed? Please share sling.properties file, error logs, and OS detail as well.

mohamed90
Level 3
Level 3

Thanks for your answer, I have downloaded the package adobe-aemfd-win-pkg-5.1.30.zip and my OS is Windows
Als Attachment, you will also find the file sling.properties and error logs

Sling.properties :

#Overlay properties for configuration

#Wed Jan 16 08:17:16 CET 2019

obr.repository.url=http\://sling.apache.org/obr/repository.xml

sling.framework.install.incremental=true

sling.bootdelegation.weblogic=weblogic.xml.*

org.osgi.framework.system.packages=${osgi-core-packages}, ${osgi-compendium-services}, org.apache.sling.launchpad.api;version\=1.2.0 ${jre-${java.specification.version}} {dollar}{sling.jre-{dollar}{felix.detect.jpms}} ${org.apache.sling.launcher.system.packages}

org.apache.sling.commons.log.file.number=5

org.osgi.framework.startlevel.beginning=30

org.osgi.framework.bundle.parent=framework

org.apache.sling.commons.log.file.size='.'yyyy-MM-dd

gosh.home=${sling.home}

repository.home=${sling.home}/repository

ds.loglevel=warn

org.apache.sling.commons.log.julenabled=true

osgi-compendium-services=org.osgi.util.tracker; version\=1.5.1

felix.jpms.java.sql=,javax.sql;version\="0.0.0.9_JavaSE";uses\:\="javax.transaction.xa",javax.transaction.xa;version\="1.1.0"

org.osgi.framework.storage=${sling.launchpad}/felix

ds.global.extender=true

org.osgi.service.http.port=8080

sling.jre-jpms={dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.base}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.compiler}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.desktop}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.management}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.management.rmi}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.naming}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.rmi}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.scripting}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.security.jgss}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.security.sasl}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.smartcardio}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.sql}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.sql.rowset}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.xml.ws.annotation}} {dollar}{felix.jpms.{dollar}{felix.detect.jpms.java.corba}}

org.apache.sling.commons.log.file=${sling.home}/logs/error.log

sling.bootdelegation.jboss.__redirected=__redirected

sling.bootdelegation.jboss=__redirected

org.osgi.framework.system.capabilities.extra=${org.apache.sling.launcher.system.capabilities.extra}

granite.product.version=0.0.0.0_0_0_6_4_

sling.bootdelegation.sun=sun.*,com.sun.*

org.osgi.framework.bootdelegation=com.yourkit.*, ${org.apache.sling.launcher.bootdelegation}

sling.fileinstall.dir=${sling.home}/install

org.apache.felix.http.shared_servlet_context_attributes=true

felix.startlevel.bundle=20

sling.framework.install.startlevel=1

jre-1.8=, javax.accessibility;uses\:\="javax.swing.text";version\="0.0.0.1_008_JavaSE", javax.activity;version\="0.0.0.1_008_JavaSE", javax.annotation.processing;uses\:\="javax.tools,javax.lang.model,javax.lang.model.element,javax.lang.model.util";version\="0.0.0.1_008_JavaSE", javax.annotation;version\="0.0.0.1_008_JavaSE", javax.crypto.interfaces;uses\:\="javax.crypto.spec,javax.crypto";version\="0.0.0.1_008_JavaSE", javax.crypto.spec;uses\:\="javax.crypto";version\="0.0.0.1_008_JavaSE", javax.crypto;uses\:\="javax.crypto.spec";version\="0.0.0.1_008_JavaSE", javax.imageio.event;uses\:\="javax.imageio";version\="0.0.0.1_008_JavaSE", javax.imageio.metadata;uses\:\="org.w3c.dom,javax.imageio";version\="0.0.0.1_008_JavaSE", javax.imageio.plugins.bmp;uses\:\="javax.imageio";version\="0.0.0.1_008_JavaSE", javax.imageio.plugins.jpeg;uses\:\="javax.imageio";version\="0.0.0.1_008_JavaSE", javax.imageio.spi;uses\:\="javax.imageio.stream,javax.imageio,javax.imageio.metadata";version\="0.0.0.1_008_JavaSE", javax.imageio.stream;uses\:\="javax.imageio";version\="0.0.0.1_008_JavaSE", javax.imageio;uses\:\="javax.imageio.metadata,javax.imageio.stream,javax.imageio.spi,javax.imageio.event";version\="0.0.0.1_008_JavaSE", javax.lang.model.element;uses\:\="javax.lang.model.type,javax.lang.model";version\="0.0.0.1_008_JavaSE", javax.lang.model.type;uses\:\="javax.lang.model.element,javax.lang.model";version\="0.0.0.1_008_JavaSE", javax.lang.model.util;uses\:\="javax.lang.model,javax.lang.model.element,javax.annotation.processing,javax.lang.model.type";version\="0.0.0.1_008_JavaSE", javax.lang.model;version\="0.0.0.1_008_JavaSE", javax.management.loading;uses\:\="javax.management";version\="0.0.0.1_008_JavaSE", javax.management.modelmbean;uses\:\="javax.management,javax.management.loading";version\="0.0.0.1_008_JavaSE", javax.management.monitor;uses\:\="javax.management";version\="0.0.0.1_008_JavaSE", javax.management.openmbean;uses\:\="javax.management";version\="0.0.0.1_008_JavaSE", javax.management.relation;uses\:\="javax.management";version\="0.0.0.1_008_JavaSE", javax.management.remote.rmi;uses\:\="javax.management.remote,javax.security.auth,javax.management,javax.management.loading,javax.naming,javax.rmi.ssl,org.omg.CORBA,org.omg.CORBA_2_3.portable,org.omg.CORBA.portable,javax.rmi.CORBA,javax.rmi";version\="0.0.0.1_008_JavaSE", javax.management.remote;uses\:\="javax.security.auth,javax.management";version\="0.0.0.1_008_JavaSE", javax.management.timer;uses\:\="javax.management";version\="0.0.0.1_008_JavaSE", javax.management;uses\:\="javax.management.loading,javax.management.openmbean";version\="0.0.0.1_008_JavaSE", javax.naming.directory;uses\:\="javax.naming";version\="0.0.0.1_008_JavaSE", javax.naming.event;uses\:\="javax.naming,javax.naming.directory";version\="0.0.0.1_008_JavaSE", javax.naming.ldap;uses\:\="javax.naming,javax.naming.directory,javax.net.ssl,javax.naming.event";version\="0.0.0.1_008_JavaSE", javax.naming.spi;uses\:\="javax.naming,javax.naming.directory";version\="0.0.0.1_008_JavaSE", javax.naming;uses\:\="javax.naming.spi";version\="0.0.0.1_008_JavaSE", javax.net.ssl;uses\:\="javax.security.cert,javax.security.auth.x500,javax.net";version\="0.0.0.1_008_JavaSE", javax.net;version\="0.0.0.1_008_JavaSE", javax.print.attribute.standard;uses\:\="javax.print.attribute";version\="0.0.0.1_008_JavaSE", javax.print.attribute;version\="0.0.0.1_008_JavaSE", javax.print.event;uses\:\="javax.print,javax.print.attribute";version\="0.0.0.1_008_JavaSE", javax.print;uses\:\="javax.print.attribute,javax.print.event,javax.print.attribute.standard";version\="0.0.0.1_008_JavaSE", javax.rmi.CORBA;uses\:\="org.omg.CORBA,org.omg.CORBA_2_3.portable,org.omg.CORBA.portable,org.omg.SendingContext";version\="0.0.0.1_008_JavaSE", javax.rmi.ssl;uses\:\="javax.net,javax.net.ssl";version\="0.0.0.1_008_JavaSE", javax.rmi;uses\:\="org.omg.CORBA,javax.rmi.CORBA";version\="0.0.0.1_008_JavaSE", javax.script;version\="0.0.0.1_008_JavaSE", javax.security.auth.callback;version\="0.0.0.1_008_JavaSE", javax.security.auth.kerberos;uses\:\="javax.security.auth,javax.crypto";version\="0.0.0.1_008_JavaSE", javax.security.auth.login;uses\:\="javax.security.auth,javax.security.auth.callback";version\="0.0.0.1_008_JavaSE", javax.security.auth.spi;uses\:\="javax.security.auth.callback,javax.security.auth.login,javax.security.auth";version\="0.0.0.1_008_JavaSE", javax.security.auth.x500;uses\:\="javax.security.auth";version\="0.0.0.1_008_JavaSE", javax.security.auth;version\="0.0.0.1_008_JavaSE", javax.security.cert;version\="0.0.0.1_008_JavaSE", javax.security.sasl;uses\:\="javax.security.auth.callback";version\="0.0.0.1_008_JavaSE", javax.sound.midi.spi;uses\:\="javax.sound.midi";version\="0.0.0.1_008_JavaSE", javax.sound.midi;uses\:\="javax.sound.midi.spi";version\="0.0.0.1_008_JavaSE", javax.sound.sampled.spi;uses\:\="javax.sound.sampled";version\="0.0.0.1_008_JavaSE", javax.sound.sampled;uses\:\="javax.sound.sampled.spi";version\="0.0.0.1_008_JavaSE", javax.sql.rowset.serial;uses\:\="javax.sql.rowset";version\="0.0.0.1_008_JavaSE", javax.sql.rowset.spi;uses\:\="javax.sql,javax.naming,javax.sql.rowset";version\="0.0.0.1_008_JavaSE", javax.sql.rowset;uses\:\="javax.sql,javax.sql.rowset.serial,javax.sql.rowset.spi";version\="0.0.0.1_008_JavaSE", javax.sql;uses\:\="javax.transaction.xa";version\="0.0.0.1_008_JavaSE", javax.swing.border;uses\:\="javax.swing";version\="0.0.0.1_008_JavaSE", javax.swing.colorchooser;uses\:\="javax.swing,javax.swing.border,javax.swing.event,javax.swing.text";version\="0.0.0.1_008_JavaSE", javax.swing.event;uses\:\="javax.swing,javax.swing.text,javax.swing.table,javax.swing.tree,javax.swing.undo";version\="0.0.0.1_008_JavaSE", javax.swing.filechooser;uses\:\="javax.swing";version\="0.0.0.1_008_JavaSE", javax.swing.plaf.basic;uses\:\="javax.swing.border,javax.swing,javax.swing.plaf,javax.swing.text,javax.swing.event,javax.swing.colorchooser,javax.accessibility,javax.swing.filechooser,javax.swing.text.html,javax.sound.sampled,javax.swing.table,javax.swing.plaf.synth,javax.swing.tree";version\="0.0.0.1_008_JavaSE", javax.swing.plaf.metal;uses\:\="javax.swing.plaf,javax.swing,javax.swing.border,javax.swing.text,javax.swing.plaf.basic,javax.swing.filechooser,javax.swing.event,javax.swing.tree";version\="0.0.0.1_008_JavaSE", javax.swing.plaf.multi;uses\:\="javax.accessibility,javax.swing,javax.swing.plaf,javax.swing.filechooser,javax.swing.text,javax.swing.tree";version\="0.0.0.1_008_JavaSE", javax.swing.plaf.nimbus;uses\:\="javax.swing,javax.swing.plaf,javax.swing.border,javax.swing.plaf.synth";version\="0.0.0.1_008_JavaSE", javax.swing.plaf.synth;uses\:\="javax.swing,javax.swing.plaf,javax.swing.text,javax.swing.border,javax.swing.plaf.basic,javax.swing.colorchooser,javax.swing.event,javax.xml.parsers,org.xml.sax,org.xml.sax.helpers,javax.swing.table,javax.swing.tree";version\="0.0.0.1_008_JavaSE", javax.swing.plaf;uses\:\="javax.swing,javax.swing.border,javax.accessibility,javax.swing.filechooser,javax.swing.text,javax.swing.tree";version\="0.0.0.1_008_JavaSE", javax.swing.table;uses\:\="javax.swing.event,javax.swing.plaf,javax.swing.border,javax.swing,javax.accessibility";version\="0.0.0.1_008_JavaSE", javax.swing.text.html.parser;uses\:\="javax.swing.text,javax.swing.text.html";version\="0.0.0.1_008_JavaSE", javax.swing.text.html;uses\:\="javax.swing.event,javax.swing.text,javax.accessibility,javax.swing,javax.swing.plaf,javax.swing.border,javax.swing.undo";version\="0.0.0.1_008_JavaSE", javax.swing.text.rtf;uses\:\="javax.swing.text";version\="0.0.0.1_008_JavaSE", javax.swing.text;uses\:\="javax.swing.event,javax.swing.tree,javax.swing.undo,javax.swing,javax.swing.plaf,javax.swing.plaf.basic,javax.print,javax.print.attribute,javax.accessibility,javax.swing.text.html";version\="0.0.0.1_008_JavaSE", javax.swing.tree;uses\:\="javax.swing.event,javax.swing,javax.swing.border,javax.swing.plaf,javax.swing.plaf.basic";version\="0.0.0.1_008_JavaSE", javax.swing.undo;uses\:\="javax.swing,javax.swing.event";version\="0.0.0.1_008_JavaSE", javax.swing;uses\:\="javax.swing.event,javax.accessibility,javax.swing.text,javax.swing.plaf,javax.swing.border,javax.swing.tree,javax.swing.table,javax.swing.colorchooser,javax.swing.plaf.basic,javax.swing.text.html,javax.swing.filechooser,javax.print,javax.print.attribute,javax.swing.plaf.metal";version\="0.0.0.1_008_JavaSE", javax.tools;uses\:\="javax.lang.model.element,javax.annotation.processing,javax.lang.model";version\="0.0.0.1_008_JavaSE", org.ietf.jgss;version\="0.0.0.1_008_JavaSE", org.omg.CORBA.DynAnyPackage;uses\:\="org.omg.CORBA";version\="0.0.0.1_008_JavaSE", org.omg.CORBA.ORBPackage;uses\:\="org.omg.CORBA";version\="0.0.0.1_008_JavaSE", org.omg.CORBA.TypeCodePackage;uses\:\="org.omg.CORBA";version\="0.0.0.1_008_JavaSE", org.omg.CORBA.portable;uses\:\="org.omg.CORBA,org.omg.CORBA_2_3.portable";version\="0.0.0.1_008_JavaSE", org.omg.CORBA;uses\:\="org.omg.CORBA.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA_2_3.portable,org.omg.CORBA.TypeCodePackage";version\="0.0.0.1_008_JavaSE", org.omg.CORBA_2_3.portable;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.CORBA_2_3;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.CosNaming.NamingContextExtPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.CosNaming.NamingContextPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable,org.omg.CosNaming";version\="0.0.0.1_008_JavaSE", org.omg.CosNaming;uses\:\="org.omg.CORBA.portable,org.omg.CORBA,org.omg.PortableServer,org.omg.CosNaming.NamingContextPackage,org.omg.CosNaming.NamingContextExtPackage";version\="0.0.0.1_008_JavaSE", org.omg.Dynamic;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.DynamicAny.DynAnyFactoryPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.DynamicAny.DynAnyPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.DynamicAny;uses\:\="org.omg.CORBA,org.omg.CORBA.portable,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage";version\="0.0.0.1_008_JavaSE", org.omg.IOP.CodecFactoryPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.IOP.CodecPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.IOP;uses\:\="org.omg.CORBA,org.omg.CORBA.portable,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage";version\="0.0.0.1_008_JavaSE", org.omg.Messaging;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.PortableInterceptor.ORBInitInfoPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.PortableInterceptor;uses\:\="org.omg.CORBA,org.omg.CORBA.portable,org.omg.IOP,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.CORBA_2_3.portable,org.omg.Dynamic";version\="0.0.0.1_008_JavaSE", org.omg.PortableServer.CurrentPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.PortableServer.POAManagerPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.PortableServer.POAPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.PortableServer.ServantLocatorPackage;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.PortableServer.portable;uses\:\="org.omg.CORBA,org.omg.PortableServer";version\="0.0.0.1_008_JavaSE", org.omg.PortableServer;uses\:\="org.omg.CORBA,org.omg.CORBA.portable,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.CORBA_2_3,org.omg.PortableServer.ServantLocatorPackage";version\="0.0.0.1_008_JavaSE", org.omg.SendingContext;uses\:\="org.omg.CORBA,org.omg.CORBA.portable";version\="0.0.0.1_008_JavaSE", org.omg.stub.java.rmi;uses\:\="javax.rmi.CORBA";version\="0.0.0.1_008_JavaSE"

sling.installer.dir=${sling.launchpad}/installer

org.apache.sling.commons.log.level=INFO

granite.product=Adobe Experience Manager

sling.ignoreSystemProperties=true

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

sling.run.mode.options=s7connect,dynamicmedia_scene7,dynamicmedia

gosh.args=--noshutdown --nointeractive

felix.webconsole.work.context=system

sling.run.mode.install.options=author,publish|crx3|crx3tar,crx3mongo,crx3rdb,crx3tar-nofds,crx3composite-seed,crx3composite|samplecontent,nosamplecontent

felix.cm.dir=${sling.launchpad}/config

felix.systempackages.substitution=true

sling.context.default=default

sling.bootdelegation.ibm=com.ibm.xml.*

sling.fileinstall.writeback=false

osgi-core-packages=org.osgi.dto; version\=1.0.0, org.osgi.framework; version\=1.8.0, org.osgi.framework.dto; version\=1.8.0, org.osgi.framework.hooks.bundle; version\=1.1.0, org.osgi.framework.hooks.resolver; version\=1.0.0, org.osgi.framework.hooks.service; version\=1.1.0, org.osgi.framework.hooks.weaving; version\=1.1.0, org.osgi.framework.launch; version\=1.2.0, org.osgi.framework.namespace; version\=1.1.0, org.osgi.framework.startlevel; version\=1.0.0, org.osgi.framework.startlevel.dto; version\=1.0.0, org.osgi.framework.wiring; version\=1.2.0, org.osgi.framework.wiring.dto; version\=1.2.0, org.osgi.resource; version\=1.0.0, org.osgi.resource.dto; version\=1.0.0, org.osgi.service.packageadmin; version\=1.2.0, org.osgi.service.resolver; version\=1.0.0, org.osgi.service.startlevel; version\=1.1.0, org.osgi.service.url; version\=1.0.0

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

felix.service.urlhandlers=true

error logs  :

Unbenannt.PNG

Thanks

Mayank_Gandhi
Community Advisor
Community Advisor

You have a white space in between castle, check the highlighted part of sling.properties and correct the error and restart the instance.

1669318_pastedImage_0.png

It should be updated with below

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

Thanks,

Mayank Gandhi

mohamed90
Level 3
Level 3

Thanks , that worked, but I get only an email with attachment without the form I filled out
is there another way . So that I get together form and attachment ??

Thanks

Mohamed

Mayank_Gandhi
Community Advisor
Community Advisor

Can you please elaborate the Use-case? Do you want the form as an attachment?

Mayank_Gandhi
Community Advisor
Community Advisor

Imp thing to get the form as PDF:

1. Update the submit action to "send PDF via email"

1673220_pastedImage_0.png

2. Update form DOR settings as shown below:

1673221_pastedImage_1.png

If you need a few fields, not to appear in PDF template you can do that as well.

Thanks,

Mayank

mohamed90
Level 3
Level 3

Hey . Thanks @Mayank Gandhi, but the error still remains. Although I made the new change

1.PNG

2.PNG

3.PNG

Unbenannt4.PNG

Mayank_Gandhi
Community Advisor
Community Advisor

Is the email action working for you? Last week things were good.

mohamed90
Level 3
Level 3

yes,  the e-mail works exactly without attachment button , but with attachment button does not work

Mayank_Gandhi
Community Advisor
Community Advisor

Can you please share the screenshot of form and attachment button? enabling DOR will take the form data to convert it to a PDF and send it along with email. If possible send us the sample form as a package.

mohamed90
Level 3
Level 3

good morning Mayank Gandhi, in the pictures below looks my form, Unbenannt.PNGUnbenannt8.PNGso without attachment I get the email but with attchment does not work

Mayank_Gandhi
Community Advisor
Community Advisor

Hi,

Can you please check if your install directory have whitespaces?

mohamed90
Level 3
Level 3

Good morning, yes my installation Path has no spaceUnbenannt9.PNG

Mayank_Gandhi
Community Advisor
Community Advisor

I will share the steps shortly with you.

workflowuser
Employee
Employee

there is sample available here along with video on using send email step