Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 98433 invoked from network); 12 Dec 2003 19:11:56 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Dec 2003 19:11:56 -0000 Received: (qmail 79039 invoked by uid 500); 12 Dec 2003 19:11:26 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 79020 invoked by uid 500); 12 Dec 2003 19:11:26 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 79007 invoked from network); 12 Dec 2003 19:11:26 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.188) by daedalus.apache.org with SMTP; 12 Dec 2003 19:11:26 -0000 Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AUshG-0007I6-00 for tomcat-user@jakarta.apache.org; Fri, 12 Dec 2003 20:11:30 +0100 Received: from [217.228.255.204] (helo=cyberspaceroad.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AUshF-0005Xq-00 for tomcat-user@jakarta.apache.org; Fri, 12 Dec 2003 20:11:30 +0100 Message-ID: <3FDA12A7.8020500@cyberspaceroad.com> Date: Fri, 12 Dec 2003 20:10:31 +0100 From: Adam Hardy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20031103 X-Accept-Language: en, en-us, de-de MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Default context for web app References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:7be52423742ce504c1b541fa1f258887 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On 12/12/2003 12:15 AM Kent Boogaart wrote: > I am currently running against version 4.1.27 of Tomcat. I did not > alter the name of my deploy directory. Here is my element > (with env entries removed): > > cachingAllowed="true" > charsetMapperClass="org.apache.catalina.util.CharsetMapper" > cookies="true" crossContext="false" debug="0" displayName="eSM" > docBase="D:/tomcat41/bin/../webapps/eSM" > mapperClass="org.apache.catalina.core.StandardContextMapper" > path="" > privileged="false" reloadable="false" swallowOutput="false" > useNaming="true" > wrapperClass="org.apache.catalina.core.StandardWrapper"> ... > > > My WAR file is called eSM.war and, as you can see, my deploy > directory is $TOMCAT_HOME/webapps/eSM. Note, however, that Tomcat > uses $TOMCAT_HOME/work/Standalone/localhost/_ as the working > directory for the web app since the path is "". When I do that, I get a context at "/" and a context at "eSM". In $TOMCAT_HOME/work/Standalone/localhost/ tomcat makes both "_" and "eSM". I use exactly the same context config as you, except some I don't declare since the defaults are the same. The only one I don't recognise is 'displayName' - can't see it in the docs. What is it? As I originally said, putting it in ROOT is the only way I have found to avoid this. But I guess it's not important. Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org