users@glassfish.java.net

Re: what's the different between the tow process

From: <glassfish_at_javadesktop.org>
Date: Thu, 16 Aug 2007 05:18:49 PDT

Good question.

Simple answer:
Among other things, "ant -f setup-cluster.xml" is a custom wrapper over

"asadmin create-domain --profile cluster ...".

With the former, various values are defaulted, with the latter several things can be provided to
the command (e.g. admin user name, password, ports ...). The created domains are identical,
apart from the customizations that you provide.

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

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