apache - Webapplication common resources & Loadbalance -
i implement load balancing apache webserver , 2 tomcat servers.
the war deployed on both tomcats has common resources images , css folders, quietly large, if change happens in image have copy , past again in other war file deployed.
i looking out try map fix directory both war files fetch common folder. (i.e tomcat 1 , tomcat 2 access css folder c:\css\ same images )
i tried writing servlet deployed images not feasible.
any other way work around high availability resource serving ?
please assist if have idea.
i got know can map external directory tomcat in server.xml
<host name="localhost" appbase="webapps" unpackwars="true" autodeploy="true"> //add host tag <context path="/content" docbase="e:/atul/data/" /> </host>
Comments
Post a Comment