1 Reply Latest reply on Aug 19, 2010 10:42 AM by wolfgangknauf

    Jsp Loading Issues in Jboss 5.1.0 GA

    swarup.anand

      Hello Every one. I am new to the community so sorry if my details are very low. If any further information is required please do feel free to ask and I shall provide the same.

       

      My company is currently using Jboss 3.2.5 and are about to upgrade to 5.1.0. During the test upgradation we found the following error. I would be glad if any any one can help me out with the same.

       

       

      After deploying our application and during login to the same the following errors could be seen in the Web browser.

       

       

       

      org.apache.jasper.JasperException: An exception occurred processing JSP page /Jsp/Common/index.jsp at line 7
      
      4: 
      5: 
      6: <html>
      7: <jade:page  controller="com.krcl.rap.web.security.IndexPageController"/>
      8: <title>Welcome to KRCL RAP </title>
      9: <head>
      10: <script language="JavaScript">
      
      
      Stacktrace:
           org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:498)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           clime.messadmin.filter.MessAdminFilter.doFilter(MessAdminFilter.java:104)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      java.lang.NullPointerException
           org.apache.jsp.Jsp.Common.index_jsp._jspx_meth_jade_005fpage_005f0(index_jsp.java:94)
           org.apache.jsp.Jsp.Common.index_jsp._jspService(index_jsp.java:60)
           com.salmonllc.jsp.JspServlet.service(JspServlet.java:317)
           org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
           org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
           org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
           javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           clime.messadmin.filter.MessAdminFilter.doFilter(MessAdminFilter.java:104)
           org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      

       

      I searched the Jboss community and could not find solution for the same. I shall be glad for any help that I get. Before this we even tried upgrading to 4.2.3 and it was successful. and no Jsp Errors occured.

       

      We are upgrading to Jboss 5.1.0 GA and using JDK 1.6.

       

      Thanks in Advance.

        • 1. Re: Jsp Loading Issues in Jboss 5.1.0 GA
          wolfgangknauf

          Hi,

           

          hard to say what's wrong here.

           

          Could you take a look at the JBoss genereated java class for your JSP ("index_jsp.java"). This file is located somewhere in the JBoss\deploy\temp directory I think (I don't have a JBoss here at the moment, so I cannot take a look). Post the code around line 94.

           

          Also, I see that you use external components (a taglib "jade" and a tool "MessAdmin"). Maybe upgrading all this stuff to more recent versions is required.

           

          Hope this helps

           

          Wolfgang