Expand my Community achievements bar.

can port of a cq instance be set in terminal | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

can port of a cq instance be set in terminal by howtoaem Blog

Abstract

Can port of a cq instance be set in terminal
There is an option for setting run mode of a CQ Instance directly in terminal
viz -Dsling.run.modes=${CQ_RUNMODE}
is their a similar option for changing the port as well.
I'm basically looking for a solution to keep changing name of CQ jar for a new instance. Thanks

Best How To:
-p option can be used to set the port number from command line.

Ex: java -jar cq5-4502.jar -p 4503 will start the instance on 4503 even though the jar name contains 4502 as the port number.

Read Full Blog

can port of a cq instance be set in terminal

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies