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

2009-11-16 Thread Bala_ji

The server encountered an internal error () that prevented it from fulfilling
this request message in IWSS server.  Please help
http://old.nabble.com/file/p26370991/iwss%2Bapache%2Berror.jpg 
-- 
View this message in context: 
http://old.nabble.com/The-server-encountered-an-internal-error-%28%29-that-prevented-it-from-fulfilling-this-request-tp26370991p26370991.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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



Re: The server encountered an internal error () that prevented it from fulfilling this request

2009-11-16 Thread Peter Crowther
2009/11/16 Bala_ji talk2b...@gmail.com:

 The server encountered an internal error () that prevented it from fulfilling
 this request message in IWSS server.  Please help
 http://old.nabble.com/file/p26370991/iwss%2Bapache%2Berror.jpg

You have a null pointer exception, caused by either your application
code or something in com.trend.iwss.gui.  This is not a Tomcat
problem, it is a problem with your application.

- Peter

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



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

2009-10-31 Thread Brian Wolf
Hi,

*I don't know if this is the correct list to ask this, but this is an error
from a servlet loaded under tomcat (if thats the right phrase)*

*
*

*Thanks!*

*
*

*
*

*
*

*
*

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

*exception*

org.apache.jasper.JasperException: /search.jsp(151,22) Attribute value
 language + /include/header.html is quoted with  which must be
escaped when used within the value

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)

org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
org.apache.jasper.compiler.Parser.parseQuoted(Parser.java:299)
org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:249)
org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:211)
org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:154)
org.apache.jasper.compiler.Parser.parseInclude(Parser.java:867)
org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1134)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1461)
org.apache.jasper.compiler.Parser.parse(Parser.java:137)

org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:170)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
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)


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

2009-10-31 Thread Peter Crowther
2009/10/31 Brian Wolf brw...@gmail.com

 *I don't know if this is the correct list to ask this, but this is an error
 from a servlet loaded under tomcat (if thats the right phrase)*


The error is due to the servlet, not due to Tomcat:


 org.apache.jasper.JasperException: /search.jsp(151,22) Attribute value
  language + /include/header.html is quoted with  which must be
 escaped when used within the value


I'm not a JSP expert (there are some on this list, however).  But... whoever
developed /search.jsp in your application should be looking for an error
around the part of the JSP containing the text /include/header.html.

I suspect you might get a more detailed response from someone else on the
list; this is merely an early, fast response!

- Peter


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

2009-10-31 Thread Konstantin Kolinko
2009/11/1 Brian Wolf brw...@gmail.com:

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

 *exception*

 org.apache.jasper.JasperException: /search.jsp(151,22) Attribute value
  language + /include/header.html is quoted with  which must be
 escaped when used within the value
...

Look at line 151 in your /search.jsp file and replace
jsp:include page=”%=language + /include/header.html% /
that you seem to have there with
jsp:include page=”%=language + \/include/header.html\% /

See Quoting in attributes in chapter JSP.1.6 Quoting and Escape Conventions
of the JSP specification.



Best regards,
Konstantin Kolinko

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



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

2009-10-31 Thread Brian Wolf
*Konstantin thanks for your help, it now works, only one  little caveat
below, for the record as others  need this information if they are trying to
configure the Nutch 0.9 module from Apache, as I am. I would only caution
that for some reason the first quotation mark in your statement needed to
be replaced, as I noted below. Its seems maybe you used two editors or
something  constructing the statement. If you copy it into wordpad and
magnify it you will see it.*




I am going to place this item on the Nutch list, as I have not seen a
response to it

On Sat, Oct 31, 2009 at 5:07 PM, Konstantin Kolinko
knst.koli...@gmail.comwrote:

 2009/11/1 Brian Wolf brw...@gmail.com:
 
  *description* *The server encountered an internal error () that prevented
 it
  from fulfilling this request.*
 
  *exception*
 
  org.apache.jasper.JasperException: /search.jsp(151,22) Attribute value
   language + /include/header.html is quoted with  which must be
  escaped when used within the value
 ...

 Look at line 151 in your /search.jsp file and replace
 jsp:include page=”%=language + /include/header.html% /
 that you seem to have there with
 jsp:include page=”%=language + \/include/header.html\% /


not that!  use this --

jsp:include page=%=language + \/include/header.html\% /






 See Quoting in attributes in chapter JSP.1.6 Quoting and Escape
 Conventions
 of the JSP specification.



 Best regards,
 Konstantin Kolinko

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




RE: HTTP Status 500 The server encountered an internal error () that prevented it from fulfilling this request

2009-03-29 Thread Martin Gainty

you may have wrong version catalina.jar in your classpath
I would try renaming stray catalina.jar (possibly in WEB-INF/lib folder)
and reload the webapp
see if that helps

Saludos Cordiales desde EEUU
Martin 
__ 
Disclaimer and confidentiality note 
This message is confidential and may be privileged. If you are not the intended 
recipient, we kindly ask you to  please inform the sender. Any unauthorised 
dissemination or copying hereof is prohibited. This message serves for 
information purposes only and shall not have any legally binding effect. Given 
that e-mails can easily be subject to manipulation, we can not accept any 
liability for the content provided.






 From: admhards...@yahoo.ca
 To: users@tomcat.apache.org
 Subject: HTTP Status 500 The server encountered an internal error () that 
 prevented it from fulfilling this request
 Date: Sat, 28 Mar 2009 10:24:31 -0400
 
 Thanks Charles.
 
 I have been following you , I created all file and directory step by step, 
 but I don't know what is the context for my new file web.xml, however 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-fileindex.html/welcome-file
   welcome-fileindex.htm/welcome-file
   welcome-fileindex.jsp/welcome-file
 /welcome-file-list
 /web-app
 --
 
 That it.  what context should I include inside?. I'm not use any servlet, my 
 example is simple, a few line for connection with a DB in mysql and that it. 
 I don't have any other file such as classes or servlet or something like 
 that.
 
 in the file create the file C:\tomcat6.0\conf\Catalina\localhost\tomas.xml 
 I wrote this.
 
 ?xml version=1.0 encoding=iso-8859-1?
 Context docBase=D:/websites/tomcatwebsite /
 
 
 when I tried to load my example page http://127.0.0.1:8080/tomas, the 
 navigator show me this error now.
 
 
 HTTP Status 500 -
 
 type Exception report
 
 message
 
 description The server encountered an internal error () that prevented it 
 from fulfilling this request.
 
 exception
 
 org.apache.jasper.JasperException: java.lang.ClassCastException: 
 org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to 
 org.apache.AnnotationProcessor
   
 org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:156)
   
 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)
 
 
 root cause
 
 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)
 
 
 note The full stack trace of the root cause is available in the Apache 
 Tomcat/6.0.18 logs.
 
 -
 
 thanks charles for huge help to me.
 have a good day.
 sincerely
 Tomas Rodriguez 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 

_
Internet Explorer 8 – Get your Hotmail Accelerated.  Download free!
http://clk.atdmt.com/MRT/go/141323790/direct/01/

RE: HTTP Status 500 The server encountered an internal error () that prevented it from fulfilling this request

2009-03-29 Thread Caldarale, Charles R
 From: Tomas Rodriguez [mailto:admhards...@yahoo.ca]
 Subject: Re: HTTP Status 500 The server encountered an internal error
 () that prevented it from fulfilling this request

 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.

This is very confusing.  What do you mean by other location?  Please post 
your conf/server.xml, and the contents of all files you have in Tomcat's 
conf/Catalina/localhost directory.

 I have http apache in my pc too.

Why?  You don't need it to run Tomcat, and it will only complicate things at 
this point.

 - 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



HTTP Status 500 The server encountered an internal error () that prevented it from fulfilling this request

2009-03-28 Thread Tomas Rodriguez

Thanks Charles.

I have been following you , I created all file and directory step by step, 
but I don't know what is the context for my new file web.xml, however 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-fileindex.html/welcome-file
 welcome-fileindex.htm/welcome-file
 welcome-fileindex.jsp/welcome-file
/welcome-file-list
/web-app
--

That it.  what context should I include inside?. I'm not use any servlet, my 
example is simple, a few line for connection with a DB in mysql and that it. 
I don't have any other file such as classes or servlet or something like 
that.


in the file create the file C:\tomcat6.0\conf\Catalina\localhost\tomas.xml 
I wrote this.


?xml version=1.0 encoding=iso-8859-1?
Context docBase=D:/websites/tomcatwebsite /


when I tried to load my example page http://127.0.0.1:8080/tomas, the 
navigator show me this error now.



HTTP Status 500 -

type Exception report

message

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


exception

org.apache.jasper.JasperException: java.lang.ClassCastException: 
org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to 
org.apache.AnnotationProcessor


org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:156)

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)


root cause

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)


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


-

thanks charles for huge help to me.
have a good day.
sincerely
Tomas Rodriguez 



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



RE: HTTP Status 500 The server encountered an internal error () that prevented it from fulfilling this request

2009-03-28 Thread Caldarale, Charles R
 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-fileindex.html/welcome-file
   welcome-fileindex.htm/welcome-file
   welcome-fileindex.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



Re: HTTP Status 500 The server encountered an internal error () that prevented it from fulfilling this request

2009-03-28 Thread Tomas Rodriguez
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-fileindex.html/welcome-file
  welcome-fileindex.htm/welcome-file
  welcome-fileindex.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