Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 48728 invoked from network); 10 Oct 2007 12:15:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 12:15:53 -0000 Received: (qmail 45912 invoked by uid 500); 10 Oct 2007 12:15:29 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 45898 invoked by uid 500); 10 Oct 2007 12:15:29 -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 45887 invoked by uid 99); 10 Oct 2007 12:15:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 05:15:29 -0700 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: 132.236.56.14 is neither permitted nor denied by domain of lyc7@cornell.edu) Received: from [132.236.56.14] (HELO postoffice10.mail.cornell.edu) (132.236.56.14) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 12:15:30 +0000 Received: from orpheus7.dataserver.cornell.edu (orpheus7.dataserver.cornell.edu [128.253.161.140]) by postoffice10.mail.cornell.edu (8.12.10/8.12.6) with ESMTP id l9ACF7k7018875 for ; Wed, 10 Oct 2007 08:15:08 -0400 (EDT) Message-ID: <1766179870.1192018507775.JavaMail.webber@orpheus7.dataserver.cornell.edu> Date: Wed, 10 Oct 2007 08:15:08 -0400 (EDT) From: Li Ye Chen To: Tomcat Users List Subject: Re: Perl Permissions on Tomcat Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: uPortal WEB email client 3.0 X-Virus-Checked: Checked by ClamAV on apache.org I assume it's a permission problem since: 1) I'm trying to run script A (the script with the problem), and 2) script B ran with no problems at all, but 3) script A also ran with no problems if executed from the command line directly instead of in the browser via Tomcat server... both scripts A and B are in the WEB-INF/cgi folder of a webapp in the Tomcat server. There are no error messages. Apparently, it may also be a speed issue, since there was once when I ran script A and after a while, I stopped the transmission -- there was actually a partial output from the script. -----Original Message----- > Date: Tue Oct 09 16:54:50 EDT 2007 > From: "Christopher Schultz" > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Li, > > Li Ye Chen wrote: > > Hi, I'm trying to run a Perl script on Tomcat 5.5.8 -- I've managed > > to successfully run read-only Perl script, but the script I'm trying > > to run connects to the database and needs to write to the local hard > > drive. Whenever I try to execute the script, it creates a Perl.exe > > thread on my Windows server and just never return the HTML code (so > > the browser keeps loading) -- it seems there is a permission problem. > > Why do you believe there is a permissions problem? If perl.exe is > running, then you have permission to run perl.exe. If you don't have > permission to read the script file, then you should be getting some kind > of error message somewhere. > > Can you see any error messages anywhere? > > How are you trying to execute this perl script? Be specific. > > - -chris > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHC+qa9CaO5/Lv0PARApzZAJsGg5LMZXycPyWTHUpbJ8cyk7mWrgCcDRPo > Q+HJ78JMBbf3cDZsnbveV08= > =IZrk > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > 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