quality@glassfish.java.net

Re: line command in GF V3b66 ??

From: Sankar Neelakandan <Sankar.Neelakandan_at_Sun.COM>
Date: Mon, 12 Oct 2009 08:49:33 -0700

Felipe,
    The default password is no password , meaning literally there is no
password. The correct entry in passwordfile to connect to DAS is
AS_ADMIN_PASSWORD=<your admin password>

try it and let us know.
-Sankar

Felipe Gaścho wrote:
> the same, what means the password for admin is "non password"...
>
> and then I tried to add in my .passwords file things like:
>
> AS_ADMIN_MASTERPASSWORD=
> AS_ADMIN_USERPASSWORD=
> AS_ADMIN_ALIASPASSWORD=
>
> but it didn't work.....
>
>
> On Sun, Oct 11, 2009 at 6:54 AM, Sankar Neelakandan
> <Sankar.Neelakandan_at_sun.com> wrote:
>
>> Just type asadmin login and it will prompt you to enter the user/name
>> password.
>> What is your login command response ?.
>>
>> # asadmin login
>>
>> Enter admin user name [default: admin]>
>> Login information relevant to admin user name [admin]
>> for host [localhost] and admin port [4848] stored at
>> [/root/.asadminpass] successfully.
>> Make sure that this file remains protected.
>> Information stored in this file will be used by
>> asadmin commands to manage the associated domain.
>> Command login executed successfully.
>>
>>
>> Felipe Gaścho wrote:
>>
>>> I tried to use asadmin login.. but it seems not to help..
>>>
>>> how to do that ? (I checked the asadmin -help login)
>>>
>>> On Sat, Oct 10, 2009 at 4:33 PM, Sankar Neelakandan
>>> <Sankar.Neelakandan_at_sun.com> wrote:
>>>
>>>
>>>> Jacek Laskowski wrote:
>>>>
>>>> 2009/10/10 Felipe Gaścho <fgaucho_at_gmail.com>:
>>>>
>>>>
>>>> I am trying to repeat my v2.1 line commands with the V3, but it is
>>>> failing to authenticate:
>>>>
>>>> fgaucho_at_Fortunario:~$ asadmin --passwordfile=/home/fgaucho/.passwords
>>>> --user=admin delete-jdbc-connection-pool --cascade=true jdbc/arenaPool
>>>> Authentication failed with password from login store:
>>>> /home/fgaucho/.asadminpass
>>>> Enter admin password for user "admin">
>>>> Authentication failed for user: admin
>>>> (Usually, this means invalid user name and/or password)
>>>> Command delete-jdbc-connection-pool failed.
>>>>
>>>>
>>>> Try ./bin/asadmin.bat login
>>>>
>>>>
>>>>
>>>> In V2.1 you might have logged in to the domain using
>>>> "admin/<somepassword>
>>>> to das port 4848" and it is stored in /home/fgaucho/.asadminpass
>>>> In V3 the default admin user is "admin" and password is nopassword(
>>>> nothing).
>>>> When asadmin tries to connect to port 4848 it sees the login details from
>>>> the .asadminpass file and tries to use it. Since the passwords are
>>>> different
>>>> it fails
>>>> To solve either use asadmin login or delete this file
>>>>
>>>> /home/fgaucho/.asadminpass
>>>>
>>>> Jacek
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>>
>
>
>
>