Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 98486 invoked from network); 31 Jan 2010 23:27:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Jan 2010 23:27:25 -0000 Received: (qmail 60510 invoked by uid 500); 31 Jan 2010 23:27:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 60438 invoked by uid 500); 31 Jan 2010 23:27:21 -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 60427 invoked by uid 99); 31 Jan 2010 23:27:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jan 2010 23:27:21 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 128.253.83.141 is neither permitted nor denied by domain of dns4@cornell.edu) Received: from [128.253.83.141] (HELO authusersmtp.mail.cornell.edu) (128.253.83.141) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Jan 2010 23:27:13 +0000 Received: from [192.168.5.103] (cpe-24-58-157-65.twcny.res.rr.com [24.58.157.65]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id o0VNQpgf020744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 31 Jan 2010 18:26:52 -0500 (EST) Message-ID: <4B6611BD.1020401@cornell.edu> Date: Sun, 31 Jan 2010 18:26:53 -0500 From: David Smith User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 ThunderBrowse/3.2.8.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: can't call my servlet on Tomcat 6 (Error 404) References: <27397388.post@talk.nabble.com> <4B660B51.9020508@cornell.edu> <27397698.post@talk.nabble.com> In-Reply-To: <27397698.post@talk.nabble.com> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 1/31/2010 6:15 PM, hbral wrote: > > > David Smith-2 wrote: > >> On 1/31/2010 5:36 PM, hbral wrote: >> >>> Hi everyone. >>> I have a serlvet that reads a file from disk and then starts streaming >>> the file. >>> i have mapped the servlet to url in the web.xml file. >>> it works perfect on my local machine (i'm using gwt with eclipse which >>> uses >>> jetty i think) but when i deploy it on my tomcat server i can't call that >>> url that is mapped to the servlet instead i >>> get a page with the 404 error (the requested resource was not found). >>> thank you >>> >>> >> Help us help you. We need to see the logs for the moment your webapp >> was deployed and the moment you requested the servlet. Also some >> details on your system -- os, jvm, tomcat version, etc., ... would help >> all the more. >> >> >> --David >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> >> >> > sorry about that. > > tomcat: 6.0.24 > os: debian linux 2.6.12.6-xenU > jvm: 1.6.0_12-b04 > > log files contain nothing use full other than that i successfully deployed > the war file > > regards > > Then I'm guessing your servlet isn't getting hit on the production environment. I would add some logging so even successful attempts show up in the log file and test w/ your server env. again. --David --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org