Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-30

Rules request: several JSP include directives may cause JSP compilation fails

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None

      If a JSP have lots of JSP include directives, this may cause an error in the compilation due to size limitation:

      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/APP].[jsp]] (http-localhost/127.0.0.1:8080-2) JBWEB000236: Servlet.service() for servlet jsp threw exception: org.apache.jasper.JasperException: JBWEB004062: Unable to compile class for JSP:

      JBWEB004061: An error occurred at line: 227 in the generated java file
      The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

      JBWEB004211: Stacktrace:
      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:69) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:447) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:339) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:326) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:606) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      ...

            Unassigned Unassigned
            oarribas@redhat.com Oscar Arribas Arribas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: