You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by cory ng <co...@yahoo.com> on 2005/10/24 19:46:30 UTC
HTTP 500 Error.
Hello! I know this is a general error and I tried
numerous scenarios of registering and unregistering
componenets and dlls and restarts of the tomcat apache
service. I tried changing some code in some jsp files.
The error is referring to a jasper exception and a
class cast exception. Attached is the error I receive
int he web site word for word. I googled for answers
but I'n not seeing anything related. If anyone has
encountered or seen this before. Can you please point
me in the right direction. This error is generated
when I click on a print preview button to display a
report. I will investigate more. Any information will
be appreciated. Thank you.
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
RE: HTTP 500 Error.
Posted by Steve Kirk <to...@web-startup.co.uk>.
the key lines to look at more closely at these:
java.lang.ClassCastException
org.apache.jsp.errorpage_jsp._jspService(errorpage_jsp.java:103)
...
org.apache.jsp.preview_jsp._jspService(preview_jsp.java:135)
(esp the latter), and:
"note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.27 logs"
I would take a look at the logs for more info then look at the lines in the
_jsp.java files mentioned in the stacktrace above. These "_jsp.java" files
are the java source files defining the servlets that TC automatically
converts your JSPs into. You should be able to recognise from there where
the error is in your JSP source. You will find the files in this folder:
%catalina_home%/work/[engine-name]/[host-name]/[webapp-name]/org/apache/jsp/
where [engine-name] and [host-name] are usually "catalina" and "localhost"
unless you have changed them in %catalina_home%/conf/server.xml
> -----Original Message-----
> From: cory ng [mailto:cory80233@yahoo.com]
> Sent: Monday 24 October 2005 18:47
> To: users@tomcat.apache.org
> Subject: HTTP 500 Error.
>
>
> Hello! I know this is a general error and I tried
> numerous scenarios of registering and unregistering
> componenets and dlls and restarts of the tomcat apache
> service. I tried changing some code in some jsp files.
> The error is referring to a jasper exception and a
> class cast exception. Attached is the error I receive
> int he web site word for word. I googled for answers
> but I'n not seeing anything related. If anyone has
> encountered or seen this before. Can you please point
> me in the right direction. This error is generated
> when I click on a print preview button to display a
> report. I will investigate more. Any information will
> be appreciated. Thank you.
>
>
>
> __________________________________
> Yahoo! FareChase: Search multiple travel sites in one click.
> http://farechase.yahoo.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org