tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Vidal Ferrer" <antonio.vi...@globalia-sistemas.com>
Subject RE: Tomcat JSP issues
Date Fri, 18 Apr 2008 08:17:15 GMT
Hi Landon,


Check if you have jasper.jar in you’re the application you recently added. If so, remove
it  and restart tomcat. Then try again.

Best,

Toni

-----Original Message-----
From: Landon Fabbricino [mailto:LFabbric@agrium.com] 
Sent: jueves, 17 de abril de 2008 21:30
To: users@tomcat.apache.org
Subject: Tomcat JSP issues

Hello,

We are using Apache Tomcat/6.0.16 and when we go to the sample JSP
pages or our own jsp application, it breaks with a servlet exception.
(BTW servlets are still working).  When I first installed tomcat all of
the example jsp loaded correctly, just recently (after added a new
application war file) they stopped loading - not sure if it was from the
application war file addition or not..

http://localhost:8080/examples/jsp/jsp2/simpletag/hello.jsp 
When we go to this page, here is the following error we see.
—----------------------------------------------------------------------------------------
HTTP Status 500 -

type Exception report

message

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

exception

javax.servlet.ServletException: java.lang.AbstractMethodError:
javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause

java.lang.AbstractMethodError:
javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
	org.apache.jsp.jsp.jsp2.el.basic_002darithmetic_jsp._jspInit(basic_002darithmetic_jsp.java:22)
	org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:159)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

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


Any suggestions would be very much appreciated.

Thanks in advanced.

Landon Fabbricino
IT Applications

Phone: 403.225.7515
Fax: 403.225.7604
lfabbric@agrium.com

IMPORTANT NOTICE ! 
This E-Mail transmission and any accompanying attachments may contain
confidential information intended only for the use of the individual or
entity named above. Any dissemination, distribution, copying or action
taken in reliance on the contents of this E-Mail by anyone other than
the intended recipient is strictly prohibited and is not intended to, in
anyway, waive privilege or confidentiality. If you have received this
E-Mail in error please immediately delete it and notify sender at the
above E-Mail address.  
Agrium uses state of the art anti-virus technology on all incoming and
outgoing E-Mail. We encourage and promote the use of safe E-Mail
management practices and recommend you check this, and all other E-Mail
and attachments you receive for the presence of viruses. The sender and
Agrium accept no liability for any damage caused by a virus or otherwise
by the transmittal of this E-Mail. 


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


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


Mime
View raw message