Instance hangs for ~15 minutes after sling.properties change | Community
Skip to main content
Level 2
Jan 30, 2018 12:36 PM UTC

Instance hangs for ~15 minutes after sling.properties change

Hey everyone,

I set up AEM Forms (the OSGI flavour) on top of AEM 6.3 according to this guide: Installing and configuring AEM 6.3 forms

After the "Boot delegate RSA and BouncyCastle libraries" step my instance needs up to 15 minutes to start up.

What I did was adding following lines:

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

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

to the sling.properties file. When I remove the RSA.Jsafe line the instance boots up fast again. Did you guys experience something like this? The log seems fine.

Thanks

D

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

7 replies

joerghoh
Employee
Jan 30, 2018 10:18 PM UTC

Please post the relevant log statements of the error.log during the startup. I suppose that there is huge time gap (several minutes) between 2 log statements. Can you check that?

Jörg

Translate
smacdonald2008
Level 10
Jan 31, 2018 4:39 PM UTC

If this continues - please log a ticket so support can investigate.

Translate
smacdonald2008
Level 10
Jan 30, 2018 3:28 PM UTC

How much RAM do you have, whats is your HEAP size. There are many variables that can play a role here. When you refresh Sling Settings, there are many services that are refreshed.

Translate
DevDev123Author
Level 2
Feb 1, 2018 1:56 PM UTC

Hi smacdonald2008​,

the instance is started with -Xmx1024m -XX:MaxMetaspaceSize=512m. The MemTotal is listed with 12139656 kB.

This is a demo author instance with zero load.

This gap happens on every startup - not only after a change of the sling.properties file.

Translate