users@glassfish.java.net

Re: asadmin create-domain error under MacOs X

From: <glassfish_at_javadesktop.org>
Date: Mon, 19 Feb 2007 12:36:43 PST

How about:
- create a file e.g. /tmp/passfile with following contents:
AS_ADMIN_ADMINPASSWORD=adminadmin
AS_ADMIN_MASTERPASSWORD=changeit

- asadmin create-domain --adminuser user --passwordfile /tmp/passfile ...

This will not make asadmin prompt for the password.

Apparently, there is something wrong with the native library that accepts the password
entered on command line *without* echoing.

Let's know if this works.

Regards,
Kedar
[Message sent by forum member 'km105526' (km105526)]

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