CQ5.1 & CQ5.2.X do not shutdown gracefully when using serverctl script for start/stop

Symptoms

When I attempt to stop CQ5 using crx-quickstart/server/serverctl stop or crx-quickstart/server/stop then the server does not shutdown gracefully (it outputs the message below to the console).

./serverctl stop  
stopping .......................still running. sending TERM signal to PID 1860 

Cause

./stop writes the message 'QUIT' to the java process that has been started in order to signal a shutdown; however, unless passing argument "-verbose" to crx-quickstart, the java process's standard input will be closed immediately on startup, so the message never gets through.

Resolution

Replace line 43 in serverctl

#QUICKSTART_OPTS= 

with:

QUICKSTART_OPTS="-nobrowser -verbose" 

Then restart CQ5 with ./start and try to stop it again with ./stop.

Applies to

CQ 5.1, CQ 5.2

 Adobe

更快、更轻松地获得帮助

新用户?

Adobe MAX 2024

Adobe MAX
创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX

创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX 2024

Adobe MAX
创意大会

10 月 14 日至 16 日迈阿密海滩及线上

Adobe MAX

创意大会

10 月 14 日至 16 日迈阿密海滩及线上