tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Parrish" <cparr...@computerprep.com>
Subject RE: Error: 500 on servlet example
Date Wed, 10 May 2000 00:43:38 GMT
I think I must have screwed up my %Java_Home% variable setting. Because All
of my serverlets examples are working but none of my JSP examples are. Where
do I find the Java_Home variable and what *should* it be set for?

Carl Parrish
Webmaster
ComputerPREP.com


-----Original Message-----
From: James DiZoglio [mailto:zeppelin@firstworld.net]
Sent: Tuesday, May 09, 2000 5:26 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: Error: 500 on servlet example


enviornment variables are not set.

-----Original Message-----
From: Mason Holding [mailto:mholding@scale8.com]
Sent: Tuesday, May 09, 2000 5:14 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: Error: 500 on servlet example



Hi all,

I was able to successfully install tomcat on a redhat machine with a 2.2.12
kernel running with apache 1.3.9, jdk1.2.2.  All of the servlet examples
work fine except for the SessionExample, where it returns the Error: 500.
The trace looks like the following:

java.lang.NoSuchMethodError: javax.servlet.http.HttpSession: method
getAttributeNames()Ljava/util/Enumeration; not found
        at SessionExample.doGet(SessionExample.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:541)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)

What's up with this?  It claims there is no such method in sun's servlet
code.  I know this is not true because I checked.

Any ideas?


--Mason Holding

--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org



--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message