You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by zo...@springmail.com on 2004/09/24 20:40:15 UTC

Info re: use of CGI servlet in Tomcat, JDK version

Hello, 
   This is not a question so much as a notice; I'm working on Windows OS, and had
JDK 1.3 set up as JAVA_HOME. I'm using Tomcat 5.0.19 and wanted to run perl scripts
so set up CGI servlet by commenting-in appropriate sections of conf/web.xml, and
renaming servlets-cgi.jar, putting my script in a /cgi folder under /WEB-INF in 
my application, and got the error "NoSuchMethodFound" for CGIRunner.run
   It is not the case that this method isn't there as you all probably know. I found
that I need to use the 1.4 version of the JDK (j2sdk1.4.) for the servlet to work
properly.  Perhaps this caveat can be added to the CGI doc.
thanks,
Lesley


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Info re: use of CGI servlet in Tomcat, JDK version

Posted by Mark Thomas <ma...@apache.org>.
A JDK 1.4 requirement is a bug and most likely my fault. I'll look at this now.

Thanks for bringing this to my attention.

Mark

> -----Original Message-----
> From: zorgalina@springmail.com [mailto:zorgalina@springmail.com] 
> Sent: Friday, September 24, 2004 7:40 PM
> To: Tomcat Users List
> Subject: Info re: use of CGI servlet in Tomcat, JDK version
> 
> Hello, 
>    This is not a question so much as a notice; I'm working on 
> Windows OS, and had
> JDK 1.3 set up as JAVA_HOME. I'm using Tomcat 5.0.19 and 
> wanted to run perl scripts
> so set up CGI servlet by commenting-in appropriate sections 
> of conf/web.xml, and
> renaming servlets-cgi.jar, putting my script in a /cgi folder 
> under /WEB-INF in 
> my application, and got the error "NoSuchMethodFound" for 
> CGIRunner.run
>    It is not the case that this method isn't there as you all 
> probably know. I found
> that I need to use the 1.4 version of the JDK (j2sdk1.4.) for 
> the servlet to work
> properly.  Perhaps this caveat can be added to the CGI doc.
> thanks,
> Lesley
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org