tomcat and apache+mod_jk on different servers - another story 2004-01-21 - By QM
Back : possible to store JSP's on the server where apache is running? It's just : a matter of convenience - it would be nice to upload the whole site with : JSPs and have it running without remembering that you should upload all : JSPs to some special place on a second server.
A sideways solution for your problem: upload your site to the same location on each server , then configure Apache and Tomcat to use that directory as the document root/context base path.
A little work up front that pays off in spades.
Downside: this requires you use an expanded WAR file
Upside: site uploads just got a lot easier, since the code goes to the same place regardless of the server's function (i.e. you could write a quick loop to upload)
Upside: upgrading Tomcat/Apache is easier, because your site's content exists separate from the Tomcat/Apache trees (and for several other "site management/architecture" reasons)
This has worked very well for me, for quite some time now. YMMV.
-QM
--
software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|