Hello all,
I get this error when I start AEM author SDK in cmd. I am using java 11.0.15 . Someone, please help me with this.
Thanks in advance:)
C:\Program Files\aem-sdk\author>java -jar aem-author-p4502.jar
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 4032 MB, meets our expectation of 1024 MB +/- 20
Setting properties from filename 'C:/Program Files/aem-sdk/author/aem-author-p4502.jar'
Option '-quickstart.server.port' set to '4502' from filename aem-author-p4502.jar
The admin password for this instance hasn't been defined yet.
Please enter the desired admin password:
Please re-enter password:
Verbose option not active, closing stdin and redirecting stdout and stderr
Redirecting stdout to C:\Program Files\aem-sdk\author\crx-quickstart\logs\stdout.log
java.io.FileNotFoundException: C:\Program Files\aem-sdk\author\crx-quickstart\logs\stdout.log (The system cannot find the path specified)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:187)
at com.adobe.granite.quickstart.base.impl.exec.StandardStreamsHandler.switchToLogFiles(StandardStreamsHandler.java:85)
at com.adobe.granite.quickstart.base.impl.Quickstart.<init>(Quickstart.java:107)
at com.adobe.granite.quickstart.base.impl.Main.<init>(Main.java:911)
at com.adobe.granite.quickstart.base.impl.Main.main(Main.java:980)
Quickstart: aborting
MAIN process: shutdown hook
MAIN process: exiting
Solved! Go to Solution.
Views
Replies
Total Likes
Interesting, it could be due to some permission issues. Can you please try
1. Download the SDK file fresh once more to ensure JAR is not corrupted
2. Ensure you are admin like user
3. Create the aem-sdk dev setup in some more generic custom folder like D:\, not C:\Program Files like system generated folders
Hey @Var-1 You can validate and try the below things:
If the above doesn't work, go to the crx-quickstart/logs folderand try to see any logs in error and share them here.
Regards,
Arpit Varshney
Thanks for your reply @ArpitVarshney ,
I checked port 4502 and also tried to run in admin mode. Still, I get the same error.
But the thing is crx-quickstart folder itself is not generating while I run the quickstart jar file. This causes the filenotfound error.
Check start.bat file config values
CQ_JVM_OPTS=-Xmx1024m -XX:MaxPermSize=256M
Ref: https://stackoverflow.com/questions/59866778/aem-author-instance-is-not-responding
Thanks @Himanshu_Jain,
Where can I find the start.bat file?
unpack the jar file in crx-quickstart folder .Under that /bin /start.bat
Interesting, it could be due to some permission issues. Can you please try
1. Download the SDK file fresh once more to ensure JAR is not corrupted
2. Ensure you are admin like user
3. Create the aem-sdk dev setup in some more generic custom folder like D:\, not C:\Program Files like system generated folders
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies