users@glassfish.java.net

Re: Glassfish Different Directory Question

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Mon, 15 Jun 2009 20:47:59 -0700

Or, use asadmin create-domain --domaindir to set up a domain in an
alternate path.

Note: once you do this, you will need to add a --domaindir option to
things like start-domain...

More control == more pain (but, just a bit)

vbk

Alexis Moussine-Pouchkine wrote:
> config\asenv.conf can change D:\sun\SDK\ to something else (see
> AS_DEF_DOMAINS_PATH).
> -Alexis
>
> On Jun 15, 2009, at 21:37, Huafeng Jin wrote:
>
>> Hi,
>>
>> I am using glassfish. However, the default directory for the
>> domain is very deep
>> (D:\sun\SDK\domains\domain1\applications\j2ee-modules\). Anybody knows
>> the way to redirect domain root folder to another directory? (Say,
>> D:\...)
>>