Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 90183 invoked from network); 3 May 2010 15:56:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 May 2010 15:56:19 -0000 Received: (qmail 17577 invoked by uid 500); 3 May 2010 15:56:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 17529 invoked by uid 500); 3 May 2010 15:56:16 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 17520 invoked by uid 99); 3 May 2010 15:56:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 15:56:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 15:56:08 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 0E681226124 for ; Mon, 3 May 2010 17:55:10 +0200 (CEST) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cEnv95zLiU3q for ; Mon, 3 May 2010 17:55:09 +0200 (CEST) Received: from [192.168.245.129] (p549E177B.dip0.t-ipconnect.de [84.158.23.123]) by tor.combios.es (Postfix) with ESMTPA id 3D9C222611B for ; Mon, 3 May 2010 17:55:09 +0200 (CEST) Message-ID: <4BDEF1F1.4070601@ice-sa.com> Date: Mon, 03 May 2010 17:55:29 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: one path working, one not References: <44039.96004.qm@web33302.mail.mud.yahoo.com> <4BD7EC3D.60409@pidster.com> <647080.23213.qm@web33303.mail.mud.yahoo.com> In-Reply-To: <647080.23213.qm@web33303.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Angela Day wrote: > Sorry for just getting back to this problem. I had to go out of town. Nothing is in the logs. It just goes straight to 404 without hitting any code or erroring to the logs. Below is what is in server.xml. I also added the respective contexts to context.xml under META-INF. Still the same error > Without being a great specialist of that kind of thing, it looks like you have your context (webapp) "csea" listed in BOTH a element in server.xml, AND in a context.xml file in the META-INF subdirectory. I think it is supposed to be either/or, with the one in server.xml strongly discouraged nowadays. > server.xml > > name="localhost"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > context.xml example under > webapps/csea/META-INF/context.xml > > > > > > > > > > > > > > > Thanks for any help you can give. > > > Angela Day > National Autism Association of Central Texas > > http://www.naacentraltexas.org > > > > > > ________________________________ > From: Pid > To: Tomcat Users List > Sent: Wed, April 28, 2010 3:05:17 AM > Subject: Re: one path working, one not > > On 27/04/2010 23:50, Angela Day wrote: >> >> I have one path >> working, and the other not working >> >> Http >> Status 404 - /csea/Login.m >> >> type Status report >> message /csea/Login.m >> description The requested resource (/csea/Login.m) is not available. >> ________________________________ >> >> They are both defined on the same tomcat 5.5.28 server > > Are there any messages in the logs during deployment? > > Please post them. > > Can you post the Host definition too? > > The preferred method for deployment in 5.5 onwards is to put the Context > definition in myapp/META-INF/context.xml. Tomcat will take care of the > deployment, and the app path is defined by the directory name. > > Defining Context in server.xml is now discouraged, especially for > 'normal' deployments like the one below. > > If your apps are deployed: > > /path/to/tomcat/webapps/csea > /path/to/tomcat/webapps/alligator > > The the config files should be: > > /path/to/tomcat/webapps/csea/... etc > /path/to/tomcat/webapps/csea/WEB-INF/web.xml > /path/to/tomcat/webapps/csea/META-INF/context.xml > > /path/to/tomcat/webapps/alligator/... etc > /path/to/tomcat/webapps/alligator/WEB-INF/web.xml > /path/to/tomcat/webapps/alligator/META-INF/context.xml > > > > p > >> server.xml >> >> >> >> >> > global="tdhca.liar.useDomain"/> >> > name="tdhca.liar.hashSalt" global="tdhca.liar.hashSalt"/> >> >> >> >> >> >> > value="cmts"/> >> > global="envName"/> >> > name="cseaPropertiesFile" global="cseaPropertiesFile"/> >> >> >> >> >> > name="tdhca.liar.useDomain" global="tdhca.liar.useDomain"/> >> >> >> > name="mf-url" global="mf-url"/> >> > global="cdb-url"/> >> > global="csea-url"/> >> > global="jdbc/cmts"/> >> > type="java.lang.String" value="contract"/> >> > name="envName" global="envName"/> >> > name="contractPropertiesFile" global="contractPropertiesFile"/> >> >> >> >> alligator work great, csea does not. I cannot see any differences. What am I >> missing? >> >> Thanks for your help. >> >> Angela --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org