The port of the cq instance in the terminal can be set
their option for setting the CQ instance launch mode directly in the
viz terminal -Dsling.run.modes=${CQ_RUNMODE}
is their analogous option for changing the port.
I am basically looking for a solution to change the CQ jar name for a new instance. Thanks to
+3
Shashi
source
to share
1 answer
Parameter
-p can be used to set the port number from the command line.
Ex: java -jar cq5-4502.jar -p 4503
will start an instance on 4503 even though the jar name contains 4502 as the port number.
+4
Sharath madappa
source
to share