1. Double-click the jar file
2. Using Command Prompt
3. Using custom script (start.bat and stop.bat)
Double-click the jar file
Start:-
This is possible with all GUI enabled devices. You can simply double-click the jar file to start AEM. A progress bar will appear on screen to indicate the progress of a start-up.
This is possible with all GUI enabled devices. You can simply double-click the jar file to start AEM. A progress bar will appear on screen to indicate the progress of a start-up.
If you are installing AEM for the first time. It will take time to start as it creates an entire JCR-compliant repository in the background, which may take several minutes [depending on your machine configurations]. After this startup is much quicker as double-clicking on the jar file in the install directory simply starts the instance, it does not re-install it.
Stop:-
To stop the instance from the GUI, simply click the on/off switch on the desktop application window.
How to Start Using Command Prompt
Open command prompt, select the jar file directory and enter the command
for a 32bit VM type:
java -Xmx1024M -jar <Name of jar file>
Or, for a 64bit VM, type:
java -XX:MaxPermSize=256m -Xmx1024M -jar <Name of jar file>
How to Stop Using Command Prompt
Press CTRL-C stop AEM instance.
Using custom script(start.bat and stop.bat)
Use a custom script located in the bin (crx-quickstart\bin) folder, such as start.bat to start AEM. The Start and Stop scripts are for UNIX, Linux, and Macintosh. The start.bat and stop.bat scripts are for Windows.
To stop the instance from the GUI, simply click the on/off switch on the desktop application window.
How to Start Using Command Prompt
Open command prompt, select the jar file directory and enter the command
for a 32bit VM type:
java -Xmx1024M -jar <Name of jar file>
Or, for a 64bit VM, type:
java -XX:MaxPermSize=256m -Xmx1024M -jar <Name of jar file>
How to Stop Using Command Prompt
Press CTRL-C stop AEM instance.
Using custom script(start.bat and stop.bat)
Use a custom script located in the bin (crx-quickstart\bin) folder, such as start.bat to start AEM. The Start and Stop scripts are for UNIX, Linux, and Macintosh. The start.bat and stop.bat scripts are for Windows.
Note: If you are installing AEM for the first time, you must unpack the jar to access custom scripts in the repository. To unpack the jar use java -jar cq5-author-p4502.jar –unpack command.
The script starts the instance installed in <cq-installation> directory.
For Window’s platform, start the command prompt in <cq-installation>/bin directory and enter the below command to start AEM instance on port number 4506.
SET CQ_PORT=4506 & start.bat
You can SET below-mentioned values using a similar command
Environment variable
Description
CQ_PORT
TCP port used for stop and status scripts
CQ_HOST
Hostname
CQ_INTERFACE
Interface that this server should listen to
CQ_RUNMODE
Runmode(s) separated by a comma
CQ_JARFILE
Name of the jar file
CQ_USE_JAAS
Use of JAAS (if true)
CQ_JAAS_CONFIG
Path of the JAAS configuration
Note: The start script launches the AEM Quickstart installed under the <cq-installation>/app folder.
For Window’s platform, start the command prompt in <cq-installation>/bin directory and enter the below command to start AEM instance on port number 4506.
SET CQ_PORT=4506 & start.bat
You can SET below-mentioned values using a similar command
Environment variable
Description
CQ_PORT
TCP port used for stop and status scripts
CQ_HOST
Hostname
CQ_INTERFACE
Interface that this server should listen to
CQ_RUNMODE
Runmode(s) separated by a comma
CQ_JARFILE
Name of the jar file
CQ_USE_JAAS
Use of JAAS (if true)
CQ_JAAS_CONFIG
Path of the JAAS configuration
Note: The start script launches the AEM Quickstart installed under the <cq-installation>/app folder.
Stop: The stop script is available under the <cq-installation>/bin directory. Both Unix and Windows versions are provided. The script stops the running instance installed in <cq-installation> directory.
For Window’s platform, start the command prompt in <cq-installation>/bin directory and enter
stop.bat
stop.bat
No comments:
Post a Comment
If you have any doubts or questions, please let us know.