https://bz.apache.org/bugzilla/show_bug.cgi?id=60613
Bug ID: 60613
Summary: getting Maximum code footprint error after upgrade to
Tomcat 8.5.11
Product: Tomcat 8
Version: 8.5.11
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
Hello,
I recently upgraded my Tomcat to 8.5.11 and certain JSPs have stopped working
since the maximum method/file size error 65535. The stack trace is below:
An error occurred at line: [362] in the generated java file:
[C:\Fieldglass\InSite-2017.10\work\Catalina\localhost\ROOT\org\apache\jsp\WEB_002dINF\pages\buyer\job_005fposting_005fform_002d3_jsp.java]
The code of method _jspService(HttpServletRequest, HttpServletResponse) is
exceeding the 65535 bytes limit
Stacktrace:
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:212)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:377)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:600)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:368)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:726)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:592)
The project I have doesn't contain any error/bug that might cause this. Rather
than reformatting/refactoring >200 files, I was wondering if you guys would
take a look at this and provide some comments on why this is happening.
I have already tried adding the following attributes to
%CATALINA_HOME%\conf\web.xml
suppressSmap=true
mappedFile=False
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]