admin@glassfish.java.net

Re: what's the deal with docroot

From: Paul M Davies (Oracle) <"Paul>
Date: Thu, 18 Mar 2010 13:17:23 -0700

Hi,

According to Server Instance Synchronization
<http://docs.sun.com/doc/821-0182/gdobm> in the HA Admin Guide, docroot
is listed as one of the files and directories that are kept
synchronized. The description in the table for docroot states:

    In out of the box configuration, all server instances in the domain
    use the same docroot. The docroot property of the virtual server
    needs to be configured to make the server instances use a different
    docroot.

This section also explains what happens to lib.

Hope this helps.
-Paul

On 03/18/10 12:10, Jan Luehe wrote:
> Byron Nevins wrote:
>> This unknown is in the clustering spec [1]:
>>
>> XXX - what to do about "lib" and "docroot" directories?
>>
>> I just went and looked at a V2 server instance and noticed it has a
>> copy of "index.html" from the DAS docroot. My guess is that it is
>> synchronized. I can't test right now -- I have a long-running
>> process munching all of my bandwidth.
>>
>> Jan - do you know how docroot is handled in V2 with clustered
>> instances? Is it synchronized automatically? Can an instance
>> specify its own private docroot?
>
> Byron, unfortunately, I don't know the answer to this. I believe that
> docroots are automatically synchronized from the DAS.
>
>

-- 
Paul Davies, Principal Technical Writer, Oracle Corporation.
http://blogs.sun.com/techscribe/