tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Schuster" <rschus...@accuvoice.com>
Subject RE: CGI Parameter Passing
Date Wed, 06 Sep 2006 17:10:33 GMT

Tried the servlets-cgi.jar file from version 5.5.17, caused all my web app
urls to return blank pages.  Tried 5.0.28 and 5.0.30 but had the same CGI
parameter passing exception. 

Guess I have to make my little report with a servlet instead of ksh/sqlplus.


>From the HTTP 500 stats page

java.lang.NoSuchMethodError
	at
org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java:1614)
	at
org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:590)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


ir13(root)# /etc/init.d/tomcat start
Using CLASSPATH:
/usr/j2se/lib/tools.jar:/webadm/jakarta-tomcat-5.0.18/co
mmon/lib/servlet-api.jar:/webadm/jakarta-tomcat-5.0.18/common/endorsed/xmlPa
rser
APIs.jar:/webadm/webadm.jar:/webadm/velocity-dep-1.3.jar:/vs/java/config.jar
:/vs
/java/jcert.jar:/vs/java/jdbc.jar:/vs/java/jdbc2_0-stdext.jar:/vs/java/jdom.
jar:
/vs/java/jnet.jar:/vs/java/jsse.jar:/vs/java/oracle.jar
Using CATALINA_BASE:   /webadm/jakarta-tomcat-5.0.18
Using CATALINA_HOME:   /webadm/jakarta-tomcat-5.0.18
Using CATALINA_TMPDIR: /webadm/jakarta-tomcat-5.0.18/temp
Using JAVA_HOME:       /usr/j2se

ir13(root)# ./java -version
java version "1.3.1_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03)
Java HotSpot(TM) Client VM (build 1.3.1_10-b03, mixed mode)
 

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Sunday, September 03, 2006 8:44 PM
To: Tomcat Users List
Subject: Re: CGI Parameter Passing

Randy Schuster wrote:
> jakarta-tomcat-5.0.18 running on Solaris 8 Sparc
> 
> 
> I have CGI turned on http://ir13.accuvoice.com/cgi-bin/test-cgi works 
> fine
> 
> However passing a parameter bombs
> 
> http://ir13.accuvoice.com/cgi-bin/test-cgi?xyq=pdq
> 
> Throws a HTTP 500 page with the following tomcat log. 

This works for me using the latest 5.5.x code. It could be:
- bad config
- an old bug

Given the simple test works, it doesn't look like a config issue.

For the bug option, you should be able to use servlets-cgi.jar from the
latest 5.5.x release with 5.0.x without any problems if you can't do a
complete upgrade to 5.5.x

Mark



---------------------------------------------------------------------
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


Mime
View raw message