Local AEM SDK (AEMaaCS) not starting after adding AEM forms (Bundles are in Installed state)
Hi There,
I'm using a Mac and have the AEM SDK installed locally. However, after adding AEM forms, my AEM instance fails to start and throws an error.Here are the steps i did.
1. Downloaded the latest AEM SDK from the software distribution, along with Zulu OpenJDK 11.0.19 (JDK). Note - It's not Oracle Java, instead it's Zulu OpenJDK 11.0.19.
2. Successfully started AEM, and it was running smoothly.
3. Following Adobe documentation, stopped the server and added "aem-forms-addon-2023.09.11.00-231000.far" to the crx-quickstart/install directory. Created the "install" directory since it didn't exist. Referenced this page: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/forms/setup-configure-migrate/setup-local-development-environment.html?lang=en#add-forms-archive-configure-users
4. While attempting to restart the server, encountered the following error. Using the command on Mac to start AEM. Despite the warning, the AEM doesn't start. Upon checking bundles, all the form bundles (around 39) are in the Installed state. The AEM was running fine before adding AEM forms.
- 5. It's all vanilla AEM SDK and forms add-on. I've not deployed my application yet.
18848-MAC author % java -Xmx4096m -agentlib:jdwp=transport=dt_socket,address=30305,server=y,suspend=n -jar aem-author-p4502.jar
Listening for transport dt_socket at address: 30305
Loading quickstart properties: default
Loading quickstart properties: instance
Low-memory action set to fork
Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork arguments=[-Xmx1024m, -XX:MaxPermSize=256m]
The JVM reports a heap size of 4096 MB, meets our expectation of 1024 MB +/- 20
Setting properties from filename '/Users/mohan.joshi/Documents/aemsdk/author/aem-author-p4502.jar'
Option '-quickstart.server.port' set to '4502' from filename aem-author-p4502.jar
Verbose option not active, closing stdin and redirecting stdout and stderr
Redirecting stdout to /Users/mohan.joshi/Documents/aemsdk/author/crx-quickstart/logs/stdout.log
Redirecting stderr to /Users/mohan.joshi/Documents/aemsdk/author/crx-quickstart/logs/stderr.log
Press CTRL-C to shutdown the Quickstart server...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.sling.commons.threads.impl.ThreadLocalCleaner (launchpad:resources/install/15/org.apache.sling.commons.threads-3.2.22.jar) to field java.lang.Thread.threadLocals
WARNING: Please consider reporting this to the maintainers of org.apache.sling.commons.threads.impl.ThreadLocalCleaner
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release


