Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

org.apache.jasper.JasperException: An exception occurred processing

  Asked By: Pedro    Date: Jun 13    Category: Java    Views: 15975
  

I have a web application using apache Tomcat server and mysql as its Database.
when I run the application I see this exception in my browser:

org.apache.jasper.JasperException: An exception occurred processing JSP page
/jsp/index.jsp at line 39

36: session.putValue("Chunk_Session", chunk);
37:
38: /* Getting data from the ontology */
39: serviceManager = (rmi_kbInterface) Naming.lookup("rmi_kb");
40:
41: for (int i = 0; i < serviceManager.getNumServices(); i++) {
42: serviceID = serviceManager.getServiceID(i);

can anyone please help me?

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Bernard Gutierrez     Answered On: Jun 13

You should look for exception  in line  39 of JSP page.
There might be some typo problem there.

 
Answer #2    Answered By: Vilhelm Fischer     Answered On: Jun 13

Yes I did...

after many days I found out this problem is because of RMI mechanism.
but I don't know how to solve it!

 
Answer #3    Answered By: Manish Mishra     Answered On: May 03

i don't no.what i problem ,bcz i also face this error..
any one help me ..if u have solution.
org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 6

3: <%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
4: <html>
5: <head>
6: <sx:head/>
7: </head>
8: <body>
9:


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:524)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:435)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause

The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag. - [unknown location]
org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)
org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:44)
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:48)
org.apache.jsp.index_jsp._jspx_meth_sx_005fhead_005f0(index_jsp.java:121)
org.apache.jsp.index_jsp._jspService(index_jsp.java:81)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

 
Answer #4    Answered By: Krishnakumar Vpillai     Answered On: Jan 25