Thanks Chris ! That was informative - Could you please confirm what is the disadvantage of using the path attribute in the configuration file of the application?
Regards Shivani Christopher Schultz-2 wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Shivanic, > > On 10/18/2010 5:38 AM, shivanic wrote: >> I have read through the link suggesting not to go for using one physical >> location of war for multiple instance of tomcat. >> >> http://www.mail-archive.com/users@tomcat.apache.org/msg73906.html > > Note that this was a warning of using a /network/ share to share WAR > files. Using a single WAR file with multiple deployments should not be a > problem, as long as you do things properly. Specifically, use a file in > CATALINA_BASE/conf/[servicename]/[hostname]/[appname].xml that contains > a docBase pointing to your WAR file, and does /not/ have a "path" > attribute set. Then, make sure your WAR file is outside of the Tomcat > installation directory: otherwise, you risk additional, unintended > deployments. > >> My question is : If we have a simple jsp's that use taglib and db - what >> could be the possible issues if we use one common location for multiple >> tomcat servers? > > The content of the WAR file is largely irrelevant: it's the location of > the WAR file that counts. As long as you use local storage, you should > be fine. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAky8RDkACgkQ9CaO5/Lv0PD47gCePnOANzl1JD15EZyqcIDjsXCN > EZMAnjIa1mB2E+5IhBoXOpEeuGtgMFNc > =Ib2/ > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Common-war-file-and-multiple-tomcat-instances-tp29988694p29990177.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org