Search This Blog

Tuesday, November 13, 2018

How to change default context root using GlassFish ASADMIN Deployment Command

You can use the option --contextroot to specify a different context root from the default one:

 /usr/local/glassfish/bin/asadmin --host beta --port 4848 --name ca-i88 --contextroot i88ca /tmp/ca-i88-1.0.ear