users@glassfish.java.net

how to change hostname in .asadminpass file ?

From: <forums_at_java.net>
Date: Sat, 5 Nov 2011 20:55:10 -0500 (CDT)

 

I want to change hostname in .asadminpass from localhost to a servername (
The reason is to run asadmin command from a different machine that DAS
machine). I want to change this process through a script and not
interactively.

So, I can't run login command as it needs a user input interactively. 

Another solution is to change the .asadminpass manually. But it is not
recommended.

Any suggestions ?


--
[Message sent by forum member 'vmiharia']
View Post: http://forums.java.net/node/861196