users@glassfish.java.net

Re: asadmin: --user and --passwordfile not working

From: <glassfish_at_javadesktop.org>
Date: Tue, 28 Sep 2010 02:36:47 PDT

Probably it's not a fault of repos but installer's defaults. When you create your first domain manually instead of using installer to generate domain1 often some additional configuration is needed.


It's too late to think what was your problem last year. Solution for your problem was and is:

instead of calling
   $ asadmin start-domain --domaindir /home/alpha/glassfishv2/ --user alpha --passwordfile /home/alpha/glassfishv2/toilet/password.txt toilet

perform one time (to generate ~/.asadminpass)
   $ asadmin login
and than simply
   $ asadmin start-domain --domaindir /home/alpha/glassfishv2 toilet


best regards,
artur
[Message sent by forum member 'artur_jackowski']

http://forums.java.net/jive/thread.jspa?messageID=483829