We are there -- well at least in 9.1.
E.g. you can backup a domain
asadmin backup-domain
and then restore it on another computer with
asadmin restore-domain
and everything will work.
Bill Shannon wrote:
> The issue below reminded me of a bigger issue.
>
> It's a goal that the configuration of the app server be independent of
> the name of the host on which it is running, so that the entire domain
> could be moved to another host and work properly.
>
> How far from this ideal are we? :-)
>
>
>
> Jeanfrancois Arcand wrote:
>> OK, thanks to Shing-Wai and Marina :-)
>>
>> For peoples suffering the issue, it seems the virtual-server hosts=""
>> value in domain.xml is missing the machine's name. Recently asadmin
>> has changed the way the host:value header is computed, and it seems
>> the value send by asadmin is not the same as the one computed on the
>> server side.
>>
>> Hence, Sahoo's redirect issue reported yesterday suffer the same
>> issue: The machine's name is not added to the list of hosts="" in
>> domain.xml, hence the Mapper rejects the request (which is the
>> expected behavior).
>>
>> So we seems to suffer a configuration issue somewhere that has been
>> made public by my recent changes...more to come :-)
>>
>> A+
>>
>> -- Jeanfrancois
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
--
Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.