Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 40695 invoked from network); 13 Feb 2007 12:16:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2007 12:16:29 -0000 Received: (qmail 80692 invoked by uid 500); 13 Feb 2007 12:16:23 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80667 invoked by uid 500); 13 Feb 2007 12:16:23 -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 80656 invoked by uid 99); 13 Feb 2007 12:16:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 04:16:23 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [193.24.215.10] (HELO sp3.althosting.net) (193.24.215.10) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Feb 2007 04:16:10 -0800 Received: (qmail 18664 invoked by uid 1002); 13 Feb 2007 12:19:01 -0000 Received: from 127.0.0.1 by ns149.cdedie.com (envelope-from , uid 89) with qmail-scanner-1.25 (spamassassin: 3.1.0. Clear:RC:1(127.0.0.1):. Processed in 7.200509 secs); 13 Feb 2007 12:19:01 -0000 Received: from unknown (HELO webmail3.althosting.fr) (127.0.0.1) by localhost with SMTP; 13 Feb 2007 12:18:53 -0000 Received: from 194.199.224.105 (proxying for 172.16.103.100) (SquirrelMail authenticated user master@tyranz.com) by webmail3.althosting.fr with HTTP; Tue, 13 Feb 2007 13:18:53 +0100 (CET) Message-ID: <5647.194.199.224.105.1171369133.squirrel@webmail3.althosting.fr> In-Reply-To: <45D1A1FB.5010607@pidster.com> References: <014301c74ef4$70180e80$0c03a8c0@seb> <45D0EDAC.2070701@telig.de> <000a01c74f42$f508d0e0$0c03a8c0@seb> <45D18252.3000704@pidster.com> <7514.194.199.224.105.1171358917.squirrel@webmail3.althosting.fr> <45D1894A.9070904@pidster.com> <18296.194.199.224.105.1171361021.squirrel@webmail3.althosting.fr> <45D19311.8070904@pidster.com> <15644.194.199.224.105.1171362954.squirrel@webmail3.althosting.fr> <45D1A1FB.5010607@pidster.com> Date: Tue, 13 Feb 2007 13:18:53 +0100 (CET) Subject: Re: tomcat crash with application when doesn't found file From: master@tyranz.com To: users@tomcat.apache.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Well of course but when you have many people using the server, such problem could be very bad , as an admin of the server you can't just verify each one code and can only touch the server :) > If your code is badly constructed you can cause the server to fail to > start properly. Fix your code, not the server. > > > >>> whereabouts, in the init method? >>> >>> can you post the servlet code? >>> >>> have you properly enclosed it in a try { ... } catch(IOException ioe) >>> {}? >>> >>> it sounds like your code is causing the servlet to stop tomcat starting >>> up by throwing an uncaught exception. >>> >>> >>> p >>> >>> >>> >>> master@tyranz.com wrote: >>>> the line of the code is in a servlet i call mysite.com/myservlet >>>> >>>> (but i don t have the exact line on me ) i will search it >>>>>> the code i use is : >>>>>> Source myfiletxt = new StreamSource(new >>>>>> File("/home/mast/myfile.txt")); >>>>> And where is this line of code, in a servlet, a listener, where? >>>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To start a new topic, e-mail: users@tomcat.apache.org >>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>>> For additional commands, e-mail: users-help@tomcat.apache.org >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To start a new topic, e-mail: users@tomcat.apache.org >>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>> For additional commands, e-mail: users-help@tomcat.apache.org >>> >>> >> >> >> >> --------------------------------------------------------------------- >> To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> >> > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org