users@glassfish.java.net

Glassfish v2 alternatedocroot - will DAS sync it?

From: <glassfish_at_javadesktop.org>
Date: Mon, 29 Mar 2010 11:27:41 PDT

Using Sun Glassfish Enterprise server v2.1.1

I am using "alternatedocroot" via sun-web.xml for my web application to abstract out static content from actual deploy-able code (EAR/WAR)

What I have is a cluster of two server instances distributed across two physical hosts - HOST1 and HOST2. "alternatedocroot" points to /data/static-content/ on both HOST1 and HOST2. Would DAS (Domain application server )take care of syncing /data/static-content between HOST1 and HOST2 if I use syncinstances=true option while starting up the cluster?
(please see attached image for cluster/directory set up)
[Message sent by forum member 'ranjithjavanet']

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