quality@glassfish.java.net

Re: "asadmin set" prompts for admin password while using default port values

From: Judy Tang <Judy.J.Tang_at_Sun.COM>
Date: Tue, 15 Sep 2009 07:37:13 -0700

Thanks Naresh for sending your question to quality alias, this help
others too.

Hi Sankar, You have all the answer about asadmin. Thanks and have a
good day !

Judy

Sankar Neelakandan wrote:
> Remove the /.asadminpass file and you won't see the prompt for password.
> You might have logged into the default domain using different admin
> password for user "admin" in port 4848
> Now the default user is "admin" and default password is no password.
> If you try to login with the old .asadminpass file ,you are actually
> passing a non empty password which will result in a incorrect
> credentials.
> But after you change the admin port the entry in .asadminpass will be
> ignored because login details are based on host and port.
>
> Try removing the file and see if it works for default port.
>
> -Sankar
>
> Naresh wrote:
>> In the latest nightly build (b64) of GF v3, I see that *asadmin set*
>> command prompts for admin password, which was not the case in the
>> previous builds (checked with the promoted build b62).
>>
>> When I enter the password as "adminadmin", it fails saying invalid
>> password (I'm using the zip bundle, on a Linux machine).
>>
>> However, when the the HTTP, HTTPS and ADMIN port values are changed
>> from the default values, *asadmin set* doesn't prompt for the admin
>> password.
>>
>> I sense something fishy happening here.
>>
>> Is it some regression in the latest nightly build?
>>
>> - Naresh
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>