Skip to main content
Level 3
Dec 11, 2023 1:07 PM UTC
Solved

What is the correct way to stop aem as a cloud service so that I can restart again

Can any of you explain with screenshot how to stop aem as a cloud service? the scripts stop.bat etc didn't work for me.

What I mean by restart is that , after stop access to the link : http://localhost:4502/aem/start.html will not connect to the aem home page

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jagadeesh_Prakash
Jagadeesh_PrakashAccepted solution
Community Advisor
Dec 11, 2023 1:34 PM UTC

hi @vineetham123  can you try stoping the server using below screen.

 

7 replies

Jagadeesh_Prakash
Community Advisor
Jagadeesh_PrakashCommunity AdvisorAccepted solution
Community Advisor
Dec 11, 2023 1:34 PM UTC

hi @vineetham123  can you try stoping the server using below screen.

 

Translate
Level 3
Dec 11, 2023 1:49 PM UTC

The answer looks good! thaks. But what If I want to restart in debug mode?

Translate
Jagadeesh_Prakash
Community Advisor
Community Advisor
Dec 12, 2023 2:40 AM UTC

@vineetham123  if you want to start a jar in debug mode in local then use below command 

 

java -jar cq-author-p4502.jar -debug 30303 

 

where 30303 is the port on which the debug will be running. In your IDE you can start running the debug mode on 30303. 

 

refer to below article on how you can run debug mode on IDE 

https://technolearning-jags.blogspot.com/2023/08/how-to-set-debug-points-in-ide-intellij.html

 

Translate
aanchal-sikka
Community Advisor
Community Advisor
Dec 11, 2023 1:51 PM UTC

@vineetham123 

 

I hope you mean restarting local SDK.

Customers cannot restart AEMaaCS servers.

Translate
Aanchal Sikka
Level 3
Dec 11, 2023 1:55 PM UTC

@aanchal-sikka I meant local SDK. How can I restart in debug mode if I accidentally started aem in normal mode?

Translate
arunpatidar
Community Advisor
Community Advisor
Dec 11, 2023 2:42 PM UTC

Hi @vineetham123 
If you can stop AEM using below 2 commands.

ps -A | grep author kill -9 <PID>

First command will gve you the PID and second command will kill the process.

Translate
Arun Patidar
Level 3
Dec 11, 2023 2:46 PM UTC

 @jagadeesh_prakash , thanks for the response. Your method , followed by entering ctrl+C on the terminal(linux) opened where the jar is present, will stop the aem in local. Then we can start it again in the normal way.

Translate