I'm having the same exact problem. I think it might be a bug in Tomcat 5 as
I have it working no problem in Tomcat 4. For some reason the file name has
two sets of "'s. Not sure if that might have something to do with it...

Jon

----- Original Message ----- 
From: "Li, William" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 10:13 AM
Subject: cgi script not launching in Tomcat 5.0


> Hi,
>
> I did the config as per the documentation for CGI.  I have a script
> /local/0/home/tomcat/webapps/ROOT/cgi-bin/printenv.cgi and it works fine
on
> command line.  But Tomcat doesn't like it:
>
> 2003-12-11 10:54:41 cgi: findCGI calc: name=printenv.cgi,
> path=/local/0/home/tomcat/webapps/ROOT/cgi-bin/printenv.cgi,
> scriptname=/cgi-bin/printenv.cgi, cginame=/printenv.cgi
> 2003-12-11 10:54:41 cgi: runCGI(envp=[{CONTENT_TYPE=, SERVER_PORT=8080,
> REMOTE_ADDR=127.0.0.1, GATEWAY_INTERFACE=CGI/1.1, QUERY_STRING=,
>
X_TOMCAT_SCRIPT_PATH=/local/0/home/tomcat/webapps/ROOT/cgi-bin/printenv.cgi,
> REMOTE_HOST=127.0.0.1, SERVER_SOFTWARE=TOMCAT, PATH_INFO=, AUTH_TYPE=,
> SERVER_PROTOCOL=, REQUEST_METHOD=GET, REMOTE_USER=, REMOTE_IDENT=,
> SERVER_NAME=localhost.localdomain, CONTENT_LENGTH=,
> SCRIPT_NAME=/cgi-bin/printenv.cgi}],
> command=/local/0/home/tomcat/webapps/ROOT/cgi-bin/printenv.cgi)
> 2003-12-11 10:54:41 cgi: runCGI (stderr):Can't open perl script
> ""/local/0/home/tomcat/webapps/ROOT/cgi-bin/printenv.cgi"": No such file
or
> directory
> 2003-12-11 10:54:41 cgi: runCGI: 1 lines received on stderr
>
> Can anyone help?  Thanks!
>
>
> --------------------------------------------------------------------------
----
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended
recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not be regarded
as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers.  Email transmission cannot be guaranteed to
be
> secure or error-free.  Therefore, we do not represent that this
information is
> complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to