That's very odd - never seen it before. Your Tomcat installation may be
damaged, or you may have added extra classes that you shouldn't have to your
webapp. Refresh our memories:
I put inside of the directory example/jsp my pagejava1jsp and I loaded with
IE at the http://127.0.0.1:8080/examples/jsp/pagejava1.jsp
and the web page work fine, but I change for other location in
d:/websites/tomcatwebsite , then the page not work and show me error 500.
howevere here is the information that you requested me.
1) What version of Tomcat are you using?
6.0.18
2) What JRE/JDK are you using?
1.5
3) Have you added any jars or classes to Tomcat's lib directory?
NONE
4) What jars are in your webapp's WEB-INF/lib directory?
conection to mysql server 5
5) What classes are in your webapp's WEB-INF/classes directory?
NONE
I wanna have in other directory all example in java that I wanna build by
myself, that all, that I wanna.
I have http apache in my pc too.
thanks so much
TOMAS
--------------------------------------------------
From: "Caldarale, Charles R" <chuck.caldar...@unisys.com>
Sent: Saturday, March 28, 2009 12:07 PM
To: "Tomcat Users List" <users@tomcat.apache.org>
Subject: RE: HTTP Status 500 The server encountered an internal error ()
that prevented it from fulfilling this request
From: Tomas Rodriguez [mailto:admhards...@yahoo.ca]
Subject: HTTP Status 500 The server encountered an internal error ()
that prevented it from fulfilling this request
I don't know what is the context for my new file web.xml
Simple webapps may not need a WEB-INF/web.xml at all.
I wrote this context inside it.
----------------------------------------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
version="2.5">
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
--------------------------------------------------
The above is a waste of time, since it merely duplicates configuration
data in conf/web.xml, which is automatically included in all webapps. It
doesn't hurt, but it doesn't accomplish anything.
java.lang.ClassCastException:
org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to
org.apache.AnnotationProcessor
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:146)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
That's very odd - never seen it before. Your Tomcat installation may be
damaged, or you may have added extra classes that you shouldn't have to
your webapp. Refresh our memories:
1) What version of Tomcat are you using?
2) What JRE/JDK are you using?
3) Have you added any jars or classes to Tomcat's lib directory?
4) What jars are in your webapp's WEB-INF/lib directory?
5) What classes are in your webapp's WEB-INF/classes directory?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org