Expand my Community achievements bar.

AEM instance doesnt launch (version license.product.version=6.2.0 )

Avatar

Level 1

My Aem licence is license.product.version=6.2.0

 

MY java version is "

java 11.0.21 2023-10-17 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.21+9-LTS-193)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.21+9-LTS-193, mixed mode)

"

When i try to launch aem in cmd(run as administrator) with this command :" java -jar cq5-author-p6002.jar -r publish,prod,test -p 6002"

 

It shows this error:

"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 8152 MB, meets our expectation of 1024 MB +/- 20
Setting properties from filename 'D:/aem-sdk/author/cq5-author-p6002.jar'
Option '-quickstart.server.port' set to '6002' from filename cq5-author-p6002.jar
Setting 'sling.run.modes' to 'publish,prod,test' from command line.
Verbose option not active, closing stdin and redirecting stdout and stderr
Redirecting stdout to D:\aem-sdk\author\crx-quickstart\logs\stdout.log
Redirecting stderr to D:\aem-sdk\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.felix.framework.util.SecureAction (file:/D:/aem-sdk/author/crx-quickstart/launchpad/org.apache.sling.launchpad.base.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.util.SecureAction
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"

 

I also tried this command :"java -jar cq5-author-p6002.jar" in cmd, but it shows same error and doesnt launch.

 

I am new to this , can i upgrade the aem version ?

If not what possible solution i have ?

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Level 8

Hi @rac_pat 

 

Try to use AEM 6.5.19 or 6.5.20 version. I hope you are working for some client/company, right?

For the AEM 6.5, get the license file from company itself.

Happy to help more.

Avatar

Community Advisor

@rac_pat 

 

1. Preferrably use the AEM 6.5 license file

2. The command seems wierd, file name is of author and runmode is publish.

java -jar cq5-author-p6002.jar -r publish,prod,test -p 6002

 

Please refer to the following document to setup local environment https://experienceleague.adobe.com/en/docs/experience-manager-learn/foundation/development/set-up-a-...

 

3. The start up command is not listing errors. Can you please check error.log located in 

<aem_folder>/crx-quickstart/logs

 

 

 


Aanchal Sikka