tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Schuster" <rschus...@accuvoice.com>
Subject CGI Parameter Passing
Date Fri, 01 Sep 2006 20:15:09 GMT

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. 


2006-09-01 14:36:33 StandardContext[]cgi: findCGI: path=/test-cgi,
/webadm/jakar
ta-tomcat-5.0.18/webapps/ROOT/WEB-INF/cgi
2006-09-01 14:36:33 StandardContext[]cgi: findCGI:
currentLoc=/webadm/jakarta-to
mcat-5.0.18/webapps/ROOT/WEB-INF/cgi
2006-09-01 14:36:33 StandardContext[]cgi: findCGI:
currentLoc=/webadm/jakarta-to
mcat-5.0.18/webapps/ROOT/WEB-INF/cgi
2006-09-01 14:36:33 StandardContext[]cgi: findCGI: FOUND cgi at
/webadm/jakarta-
tomcat-5.0.18/webapps/ROOT/WEB-INF/cgi/test-cgi
2006-09-01 14:36:33 StandardContext[]cgi: findCGI calc: name=test-cgi,
path=/web
adm/jakarta-tomcat-5.0.18/webapps/ROOT/WEB-INF/cgi/test-cgi,
scriptname=/cgi-bin
/test-cgi, cginame=/test-cgi
2006-09-01 14:36:33 StandardContext[]cgi:
runCGI(envp=[{HTTP_USER_AGENT=Mozilla/
5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/20060414,
HTTP_ACCEPT_E
NCODING=gzip,deflate, REQUEST_METHOD=GET, AUTH_TYPE=,
HTTP_ACCEPT_LANGUAGE=en-us
,en;q=0.5, SERVER_NAME=ir13.accuvoice.com, SERVER_SOFTWARE=TOMCAT,
HTTP_KEEP_ALI
VE=300, HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.7,
HTTP_HOST=ir13.accuv
oice.com, GATEWAY_INTERFACE=CGI/1.1,
X_TOMCAT_SCRIPT_PATH=/webadm/jakarta-tomcat
-5.0.18/webapps/ROOT/WEB-INF/cgi/test-cgi, REMOTE_ADDR=192.168.2.101,
SERVER_PRO
TOCOL=HTTP/1.1, PATH_INFO=, REMOTE_HOST=192.168.2.101, QUERY_STRING=bob,
HTTP_CO
NNECTION=keep-alive, SERVER_PORT=80, CONTENT_TYPE=, CONTENT_LENGTH=,
HTTP_ACCEPT
=application/x-shockwave-flash,text/xml,application/xml,application/xhtml+xm
l,te
xt/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=
0.2,
text/css,*/*;q=0.1, SCRIPT_NAME=/cgi-bin/test-cgi, REMOTE_USER=,
REMOTE_IDENT=}]
, command=/webadm/jakarta-tomcat-5.0.18/webapps/ROOT/WEB-INF/cgi/test-cgi)
2006-09-01 14:36:33 StandardWrapperValve[cgi]: Servlet.service() for servlet
cgi
 threw exception
java.lang.NoSuchMethodError
        at
org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java
:1573)
        at
org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:633)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:284)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:204)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:257)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:151)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:564)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
ContextValve.java:245)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:199)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:151)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:564)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:195)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:151)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:164)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:149)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:564)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:156)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
eContext.java:151)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
a:564)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:20
6)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:828)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:700)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:584)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:683)
        at java.lang.Thread.run(Thread.java:479)






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