Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 70311 invoked from network); 29 Dec 2003 20:31:13 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Dec 2003 20:31:13 -0000 Received: (qmail 2978 invoked by uid 500); 29 Dec 2003 20:30:47 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 2922 invoked by uid 500); 29 Dec 2003 20:30:47 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 2887 invoked from network); 29 Dec 2003 20:30:46 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 29 Dec 2003 20:30:46 -0000 Received: (qmail 17906 invoked by uid 50); 29 Dec 2003 20:30:52 -0000 Date: 29 Dec 2003 20:30:52 -0000 Message-ID: <20031229203052.17905.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 25807] New: - CGI, Can't open perl script, No such file or directory bug X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25807 CGI, Can't open perl script, No such file or directory bug Summary: CGI, Can't open perl script, No such file or directory bug Product: Tomcat 5 Version: 5.0.16 Platform: Sun OS/Version: Solaris Status: NEW Severity: Blocker Priority: Other Component: Servlets:CGI AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: jemiller@uchicago.edu I am able to use CGI without a problem using Tomcat 4. However, I can't get it to work with Tomcat. I uncommented the CGI related lines in conf/web.xml and Tomcat appears to be attempting to execute my CGI Perl script. However, I keep receiving the following error. Note, I know the path to the file is correct as I'm able to view the file using less by pasting the path from the log into the command line. 2003-12-29 14:24:01 StandardContext[]cgi: runCGI (stderr):Can't open perl script ""/opt/jakarta-tomcat-5.0.16/webapps/ROOT/WEB-INF/cgi/awstats.pl"": No such file or directory 2003-12-29 14:24:01 StandardContext[]cgi: runCGI: 1 lines received on stderr Also, I just noticed that if I copy server/lib/servlets-cgi.jar from my Tomcat 4 installation to my Tomcat 5 installation it works just fine, so, it appears to be a newly introduced bug. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org