admin@glassfish.java.net

Re: how can I get the domain name?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 03 Apr 2008 11:04:39 -0700

What if config is:

/gf/domains/domain-foo/

and the property says "domain1"?

Lloyd


On Apr 3, 2008, at 11:02 AM, Byron Nevins wrote:
> The domain name is in domain.xml -- usually at the very bottom of
> the file --
>
> <property value="domain1" name="administrative.domain.name" />
> </domain>
>
>
> Lloyd L Chambers wrote:
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=4576
>>
>> How can I get the domain name? (And I hope there is not some weird
>> module dependency...)
>>
>> I presume that the domain name should be the name of the directory
>> eg "domain1".
>>
>> Lloyd
>>
>> ---
>> Lloyd L Chambers
>> lloyd.chambers_at_sun.com
>> Sun Microsystems, Inc
>>
>>
>>
>
> --
> Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123
> - Sun Microsystems, Inc.
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc