DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25807>.
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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to