Tomcat 7.0.6 (soon to upgrade to 7.0.latest) Fedora 11 JDK 1.6.0_23
We are not using virtual hosts for our tomcat instances, but in some cases run more than one instance on a machine (listening on different ports). We follow the typical pattern of a single CATALINA_HOME with distinct CATALINA_BASE directories for each instance (even if there is only one). For simplicity of automated setup we've effectively templatized server.xml, and currently are just using "localhost" for the single <Host> declaration (and defaultHost of the Engine). What are the advantages or requirements (if any) for using a value other than localhost, if not using virtual hosts? And if I read the docs correctly, any value used must be either a valid IP or resolvable via DNS? I haven't been able to find any references as to how the value actually gets used by tomcat, only about how to match them up across the configuration entries. In case it comes into the picture, we will be putting the tomcat instances behind an httpd reverse proxy, in one case via mod_jk (as we need the sticky session management and load balancing) and in the other likely with mod_proxy/mod_proxy_ajp (as there will be a hardware loadbalancer and no sessions). Thanks! Jason Pringle This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org