alternatedocroot

Posted by ring bearer on Stack Overflow See other posts from Stack Overflow or by ring bearer
Published on 2010-03-29T15:28:44Z Indexed on 2010/03/29 15:33 UTC
Read the original article Hit count: 449

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?

Thanks!

© Stack Overflow or respective owner

Related posts about glassfish

Related posts about alternate