We have two different applications running on tomcat 5 today with different hosts, one is inside the webapps directory and one did we put outside. Before we had both the applications in webapps but that made tomcat run several instances of the apps due to we declared the <host ... appbase="webapps" ... several times. So if we want to have more applications inside webapps and with different hosts we get several instances, so our only solution was to use a dummy appBase for one of the applications and point out the off the apps directly (which if I'm not misinformed can have behavior on the libs in the shared directory). Is there a "smother" way of doing this? It does feel a little bit awkward to do as below. <Host name="www.mysite.com <http://www.mysite.com> " appBase="emptywebapps" unpackWARs="false" autoDeploy="false" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" docBase="C:\Java\Tomcat 5.5\mysiteapps\mysite" debug="0" crossContext="true"/> </Host> <Host name="preview.mysite.com" appBase="webapps" unpackWARs="false" autoDeploy="false" xmlValidation="false" xmlNamespaceAware="false"> </Host> Regards Per Jonsson
******************************************************************************** This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. ********************************************************************************