Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 16807 invoked from network); 3 Apr 2009 21:46:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Apr 2009 21:46:39 -0000 Received: (qmail 34277 invoked by uid 500); 3 Apr 2009 21:46:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 34231 invoked by uid 500); 3 Apr 2009 21:46:35 -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 34213 invoked by uid 99); 3 Apr 2009 21:46:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 21:46:35 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.85.173.46] (HELO smtpout.capalon.com) (208.85.173.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2009 21:46:26 +0000 Received: from localhost (viruscan [8.8.40.174]) by smtpout.capalon.com (Postfix) with ESMTP id 023B17887CE for ; Fri, 3 Apr 2009 17:44:27 -0400 (EDT) X-Virus-Scanned: by amavisd-new-2.4.5 (20070130) (Debian) at capalon.com Received: from [IPv6:::1] (unknown [208.85.173.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpout.capalon.com (Postfix) with ESMTP id 540D378875B for ; Fri, 3 Apr 2009 17:44:24 -0400 (EDT) Message-ID: <49D68374.7050205@christopherschultz.net> Date: Fri, 03 Apr 2009 17:45:24 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Which user executes JSP in Tomcat? References: <22865557.post@talk.nabble.com> In-Reply-To: <22865557.post@talk.nabble.com> X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Raga, On 4/3/2009 6:11 AM, raga2 wrote: > Running tomcat on linux. I've written a simple JSP script to create a > directory and a file. When I run it via tomcat, the code runs fine, no > errors, but the directory nor the file get created where I specified. So, no errors but it doesn't actually do what you expected? Most IO routines throw IOException if they are unable to do whatever it is you've asked them to do. Maybe add some logging to your application? Or, do you have code like this: try { .. do some IO stuff } catch (Throwable t) { /* do nothing */ } That'll do it. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknWg3QACgkQ9CaO5/Lv0PBzywCglSS4R9G4eBlbBslvkpuKdXrK UwcAn0qPJ+oqD3f3Z/4tL7LTShADS/Pu =7sDf -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org