[GLASSFISH-16606] asadmin enable-secure-admin will not work on additional domains Created: 11/May/11 Updated: 11/May/11 Resolved: 11/May/11
|Resolution:||Works as designed||Votes:||0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
We have 2 independant domains running on the same server, domain1 was created by the installer and the domain 'ad' through:
Please fix or provide us with a working workaround.
|Comment by Tim Quinn [ 11/May/11 ]|
As with any asadmin command, you must specify the correct admin port on the enable-secure-admin command in order for asadmin to connect to the domain you want.
The default is 4848. You need to specify the correct admin port for your second domain explicitly, using
asadmin --host hostName --port portNumber rest-of-command
The default hostName is the same host where you run the asadmin command, so that part is optional if that's what you want to do.
|Comment by deathtooracle [ 11/May/11 ]|
Excellent, thank you very very much.