dev@glassfish.java.net

Re: Latest asadmin changes broke devtests?

From: Ron Monzillo <Ronald.Monzillo_at_Sun.COM>
Date: Tue, 15 Sep 2009 09:34:46 -0400

Shing Wai Chan wrote:
> If you remove the --user admin --passwordfile ...
> then it will works.
> Shing Wai Chan

but then will you be able to run the tests non-iteractively when the
admin user's password is not ""?

I think not.

imo, you should resolve this problem by correcting the password value in
the passwordfile, to match that configured for the admin user in the realm.

> Marina Vatkina wrote:
>
>> Ming,
>>
>> How does QL handle it?
>>
>> thanks,
>> -marina
>>
>> Amy Roh wrote:
>>
>>> I'm seeing the same with web devtests also.
>>>
>>> asadmin-common-ignore-fail:
>>> [echo] asadmin set --user admin --passwordfile
>>> /Users/Amy/glassfish-v3/v3/appserv-tests/config/adminpassword.txt
>>> --host localhost --port 4848 --echo=true --terse=true
>>> server.http-service.virtual-server.server.default-web-module=web-virtual-server-default-web-module-web
>>>
>>> [exec] Authorization has been refused for credentials [user:
>>> admin] given in this request.
>>> [exec] (Usually, this means invalid user name and/or password)
>>> [exec] Result: 1
>>>
>>> Do we need to update user name/password?
>>>
>>> Thanks,
>>> Amy
>>>
>>> Marina Vatkina wrote:
>>>
>>>> Bill,
>>>>
>>>> What do we need to change to make devtests working again?
>>>>
>>>> All deploy/undeploy calls now fail with:
>>>>
>>>> [exec] Authorization has been refused for credentials [user:
>>>> admin] given in this request.
>>>> [exec] (Usually, this means invalid user name and/or password)
>>>>
>>>> (Any test under <ws>/v2/appserv-tests/devtests/ejb/ejb31/timer31
>>>> only needs a running GF to execute, besides APS_HOME set to
>>>> <ws>/v2/appserv-tests and S1AS_HOME set to
>>>> <gf-install>/glassfishv3/glassfish)
>>>>
>>>> thanks,
>>>> -marina
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>