Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Server Administration page causes Exception
We are running Liferay Portal Community Edition 6.2 CE GA6 (Newton / Build 6205 / January 6, 2016)
When I try to access the "Control Panel > Configuration > Server Administration" page, I only see a blank page and the log shows this
12:26:04,358 ERROR
[ajp-bio-127.0.0.1-8009-exec-3][IncludeTag:129] Current URL
/group/control_panel?refererPlid=22274&p_p_id=137 generates
exception: Unable to compile class for JSP:
An error occurred at line: [560] in the generated java file:
[/var/lib/tomcat7/work/Catalina/localhost/_/org/apache/jsp/html/portlet/admin/view_jsp.java]
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: [560] in the generated java file:
[/var/lib/tomcat7/work/Catalina/localhost/_/org/apache/jsp/html/portlet/admin/view_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:103)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:536)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:660)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at
com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:119)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:603)
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)
I'm not aware of any changes we made to the portal since I last saw this page working properly.
Where would I start looking for the problem?
Hi Florian,
That is a Java limitation related to JSP files, have a look to:
- https://stackoverflow.com/questions/5484253/jspservice-is-exceeding-the-65535-bytes-limit
- http://futuretask.blogspot.com/2005/01/java-tip-5-avoid-64kb-method-limit-on.html
- https://community.liferay.com/forums/-/message_boards/message/4152296
Last link has a workaround, perhaps it is the same problem than yours.
Regards,
Jorge
Powered by Liferay™