tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Schuster" <rschus...@accuvoice.com>
Subject CGI and JRE Questions
Date Wed, 09 Nov 2005 20:30:11 GMT

Running Apache Tomcat 5.0.18 on Solaris 8 Sparc, two questions


1. CGI Parameter Passing

Enabled CGI and copied the old printenv and test-cgi scripts into my cgi
directory.  They run fine except when I try to pass a parameter. 

http://myserver/cgi-bin/test-cgi

works but

http://myserver/cgi-bin/test-cgi?bob

throws a status 500 

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception

root cause

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)

note The full stack trace of the root cause is available in the Tomcat logs.



2. Multiple Simulaneous Java Versions

I want to run different servlets under different versions of Java on the
same box.  Any pointers?




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


Mime
View raw message