Expand my Community achievements bar.

Difference between AEM restart and the OSGI Framework restart

Avatar

Level 4

Probably a naive question but i was trying to figure out the fundamental difference between restarting AEM (clicking on the stop toggle from the quickstart pop-up) and restarting the framework using the URL http://localhost:4502/system/console/vmstat because while i do the restart of the framework from the felix console, i was not able to access the siteadmin or damadmin consoles. So, i am trying to understand when should we do framework restart and when should we the AEM server restart. Please help me understand! Thanks in advance.

3 Replies

Avatar

Level 10

Hi,

Basically speaking there is nothing like to start via OSGI Framework restart, it is just to know the System information.

It just contains only information on Start level information, server level information and java information.

To install/restart the AEM instance see here: https://docs.adobe.com/docs/en/cq/5-5/deploying/installing_cq.html

~ Ratna.

Avatar

Level 4

Pls refer to the attachment. In AEM 6.2, if you get to this URL, http://localhost:<port>/system/console/vmstat  besides server information and you will see two buttons(restart and stop). Those are the ones i am talking about. 

Avatar

Level 9

Hi Malik0718,

First of all, there is NO OSGI restart. You can't restart or stop OSGI container. This is the AEM start/restart/stop from OSGI Console. However, it seems there is a bug in this feature.

There are cases when you would like to start/stop the AEM without typing a command from console. You can say it can be done through other ways like CI but AEM also has one way to achieve same. And, it does not work correctly for sure.

mallik0718 wrote...

Probably a naive question but i was trying to figure out the fundamental difference between restarting AEM (clicking on the stop toggle from the quickstart pop-up) and restarting the framework using the URL http://localhost:4502/system/console/vmstat because while i do the restart of the framework from the felix console, i was not able to access the siteadmin or damadmin consoles. So, i am trying to understand when should we do framework restart and when should we the AEM server restart. Please help me understand! Thanks in advance.