quality@glassfish.java.net

Re: line command in GF V3b66 ??

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sun, 11 Oct 2009 08:44:22 +0200

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
>
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/arena-http/wadl