3 Replies Latest reply on Jan 7, 2010 8:33 AM by Rasa Here

    javax.servlet.ServletException: java.lang.AbstractMethodErro

    Rasa Here Novice

      hi,

      In my jboss (jboss 4.2.3 GA) when i takes my application page i am getting getiitng an http 500 error page. This is not for all pages. The pages which is called in an iframe is having the issue.

      javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspAp
      plicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/
      ServletContext;)Ljavax/servlet/jsp/JspApplicationContext;
       org.apache.jsp.ServerInfo_jsp._jspInit(ServerInfo_jsp.java:63)
       org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52)
       org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:158)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:9
      


      Actually one mistake i pointed out is my ear contains a 3rd party jar and i removed it and put the same in default/lib directory. But still that iframe jsp's are making issues.
      Is it becasue it using jsp and servlet diff spec and tomcat 6. Everything is perfectly working when i uses 3.2.5 application.

      Already posted this issue
      http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162820