1 2 Previous Next 15 Replies Latest reply on Feb 13, 2013 9:34 AM by Tomaz Cerar

    exceeding the 65535 bytes limit

    gvern Newbie

      Hi all,

       

      when i start jboss7 and open my application, i have this error message in log:

       

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

       

      An error occurred at line: 45 in the generated java file

      The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

       

      Stacktrace:

          at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:446) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:362) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at mypackage.callPage(DeiServlet.java:67) [classes:]

          at mypackage.ModelManagerServlet.performTask(ModelManagerServlet.java:101) [classes:]

          at mypackage.service(DeiServlet.java:1115) [classes:]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.0.Final.jar:7.0.0.Final]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

          at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

       

      [ERROR];[FMW      ];[IP:127.0.0.1] [USER: ADMIN;12:24:13];Unable to compile class for JSP:

      An error occurred at line: 45 in the generated java file

      The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

       

      Stacktrace:

      org.apache.jasper.JasperException: Unable to compile class for JSP:

       

      An error occurred at line: 45 in the generated java file

      The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

       

      Stacktrace:

      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)

      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)

      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:446)

      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:362)

      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)

      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)

      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607)

      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)

      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)

      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)

      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541)

      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)

      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)

      at mypackage.callPage(myServlet.java:67)

      at mypackage.ModelManagerServlet.performTask(ModelManagerServlet.java:101)

      at mypackage.service(myServlet.java:1115)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

      at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)

      at java.lang.Thread.run(Thread.java:662)

       


      (Jsp files are compiled with jdk 1.4 and Jboss AS7 is running on jdk1.6)

       

      I know, this is a historical question, but the usual answer didn't work for me (split jsp into multiple files).

      Moreover i don't understand why in weblogic and websphere the same application give me no errors.

       

      Maybe there's a jboss7 option to set to solve this issue?

      Giorgio

        1 2 Previous Next